bfd_get_full_section_contents memory leak, plus

Alan Modra amodra@gmail.com
Sat Oct 20 08:29:00 GMT 2012


On Sat, Oct 20, 2012 at 10:42:21AM +1030, Alan Modra wrote:
> This on top of Tom's patch ought to cure the failures.  Testing
> in progress.
> 
> 	* compress.c: Reinstate 2012-10-19 change.
> 	(bfd_get_full_section_contents): Don't free unless we alloc.
> 	Use proper decompress size.  Delete some vars, rename others.

Testing successful.  Committed.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list