RFA: fix a memory leak in value.c

Daniel Jacobowitz drow@false.org
Tue Jan 6 23:29:00 GMT 2009


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



More information about the Gdb-patches mailing list