This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix a memory leak in value.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]