This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix a memory leak in value.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 6 Jan 2009 18:29:16 -0500
- Subject: Re: RFA: fix a memory leak in value.c
- References: <m3wsd8846l.fsf@fleche.redhat.com>
On Tue, Jan 06, 2009 at 03:23:14PM -0700, Tom Tromey wrote:
> This patch fixes a small memory leak in value.c.
>
> After the content-allocation change, values must be freed using
> value_free, not xfree.
>
> Built and regtested on x86-64 (compile farm).
> Verified with valgrind.
>
> Please review.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery