[PATCH] memory leak in coffgen

msnyder@sonic.net msnyder@sonic.net
Tue Jul 31 00:39:00 GMT 2007


> 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?

Michael




More information about the Binutils mailing list