[Gnucash-changes] Eliminate a double free of memory.

Chris Shoemaker c.shoemaker at cox.net
Thu Jun 2 15:40:20 EDT 2005


On Thu, Jun 02, 2005 at 01:44:29PM -0400, Derek Atkins wrote:
> Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> 
> > Thanks for explaining.  I haven't looked at the details, but shouldn't
> > destroy signal handler just generate the right CM event, and then the
> > CM close handler for the cw structure actually frees cw.  I thought
> > that was the intended use of the CM.
> 
> Yes, but all of that can happen before the gtk_widget_destroy() function
> returns.
> 

hmmm, I must be missing something.  Only a month without hacking GC
and I'm confused already.  Time to crack the source open again.  I've
been meaning to brush the dust off my budget patches anyway...

-chris


More information about the gnucash-devel mailing list