[PATCH] objcopy: Close some memory leaks in error paths
Nick Clifton
nickc@redhat.com
Fri Nov 4 16:15:00 GMT 2016
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
More information about the Binutils
mailing list