Two memory management questions in BFD - link hash tables

Alan Modra amodra@bigpond.net.au
Wed Apr 3 16:09:00 GMT 2002


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



More information about the Binutils mailing list