This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix varobj_update memleak
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Tue, 27 Feb 2007 18:08:47 -0500
- Subject: Re: Fix varobj_update memleak
- References: <200701092343.12106.ghost@cs.msu.su> <20070109215103.GH30631@nevyn.them.org> <17892.45525.146567.223655@kahikatea.snap.net.nz>
On Wed, Feb 28, 2007 at 11:33:57AM +1300, Nick Roberts wrote:
> Daniel Jacobowitz writes:
> > On Tue, Jan 09, 2007 at 11:43:11PM +0300, Vladimir Prus wrote:
> > >
> > > I suppose I wrote two much C++ code, where destructors just work.
> > > OK?
> > >
> > > - Volodya
> > >
> > > Fix memory leak.
> > > * varobj.c (varobj_update): Free temporary vectors.
> >
> > Oops. OK, thanks.
>
> Can I commit this change (in Vladimir's name)? I'm tired of backing it out
> every time I do a commit on varobj.c.
Yes, definitely. Thanks.
--
Daniel Jacobowitz
CodeSourcery