This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] memory leak in coffgen
On Mon, Jul 30, 2007 at 11:36:52AM -0700, msnyder@sonic.net wrote:
> > On Wed, Jul 25, 2007 at 04:45:10PM -0700, msnyder@sonic.net wrote:
> >> * coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
> >> are not to be cached, free the temporary buffer.
> >
> > OK.
>
> Alan, unfortunately, I think I was wrong about this one.
>
> We can't free "free_internal" at this point, because its aliased
> by internal_relocs, and we're going to return that.
>
> OK to back out this change?
Yes of course.
--
Alan Modra
Australia Development Lab, IBM