This is the mail archive of the binutils@sources.redhat.com 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: Two memory management questions in BFD - link hash tables


On Wed, Apr 03, 2002 at 06:10:54PM -0500, Daniel Jacobowitz wrote:
> 
> It adds bfd_link_hash_table_free (abfd, hash), and changes to
> malloc'ing the hashes.  I can absolutely guarantee that it leaks memory
> on some platforms; any time we notice one, we can fix it.
> best I can do, since figuring out where these things are allocated is
> insanely frustrating...

ldlang.c:open_output

The patch looks OK to me.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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