This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [rfc] eh-frame clobbers memory
- From: John Levon <levon at movementarian dot org>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: binutils at gcc dot gnu dot org
- Date: Sun, 22 May 2005 11:19:28 +0100
- Subject: Re: [rfc] eh-frame clobbers memory
- References: <20050522101414.GA18027@twiddle.net>
On Sun, May 22, 2005 at 03:14:14AM -0700, Richard Henderson wrote:
> + if (sec->size > sec->rawsize)
> + contents = bfd_realloc (contents, sec->size);
This leaks contents on bfd_realloc() failure.
regards,
john