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] objcopy: Close some memory leaks in error paths


Hi Andrew,

> I don't know if we care greatly about memory leaks on error paths,
> especially in objcopy where we'll certainly be about to exit, but
> given that I spotted these I thought I'd post this patch.

Somebody somewhere always cares... :-)

> binutils/ChangeLog:
> 
> 	* objcopy.c (copy_section): Add extra calls to free for error
> 	paths.

Cheers
  Nick


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