This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix small memory leak in mi-cmd-var.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 7 Dec 2006 22:30:44 -0500
- Subject: Re: [PATCH] Fix small memory leak in mi-cmd-var.c
- References: <17784.51326.623302.154956@kahikatea.snap.net.nz>
On Fri, Dec 08, 2006 at 03:05:50PM +1300, Nick Roberts wrote:
>
> This patch fixes a small memory leak (sizeof (struct varobj *) = 4)
> that occurs each time -var-update is issued when rootcount = 0.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery