This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, binutils/ARM] Fix leak of local internal symbols in elf32_arm_size_stubs
- From: Alan Modra <amodra at gmail dot com>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, "nickc at redhat dot com" <nickc at redhat dot com>
- Date: Wed, 6 Apr 2016 09:20:41 +0930
- Subject: Re: [PATCH, binutils/ARM] Fix leak of local internal symbols in elf32_arm_size_stubs
- Authentication-results: sourceware.org; auth=none
- References: <002501d10adf$89816b40$9c8441c0$ at arm dot com> <5630E1DC dot 9080306 at redhat dot com> <20151029000444 dot GG13961 at bubble dot grove dot modra dot org> <4013675 dot oZOsPRMpWM at e108577-lin>
On Tue, Apr 05, 2016 at 06:00:30PM +0100, Thomas Preudhomme wrote:
> * elf32-arm.c (elf32_arm_size_stubs): Move error_ret_free_local to be
> a fall through from error_ret_free_internal. Free local_syms in
> error_ret_free_local if allocated from bfd_elf_get_elf_syms ().
Looks good.
--
Alan Modra
Australia Development Lab, IBM