This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use bfd_alloc for compressed section contents


On Thu, Apr 09, 2015 at 07:38:33PM -0700, H.J. Lu wrote:
> 	* compress.c (bfd_compress_section_contents): Replace bfd_malloc
> 	and free with bfd_alloc and bfd_release on compressed buffer.
> 	Release buffer if compressed section isn't smaller.

OK.

> +	  /* NOTE: There is a small memeory leak here since

memory

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]