Re: Memory Leak with gtk_timeout_add
- From: Dave Caswell <davec asylum apocalypse org>
- To: Dave Caswell <davec apocalypse org>
- Cc: gtk-list gnome org
- Subject: Re: Memory Leak with gtk_timeout_add
- Date: Thu, 2 Aug 2001 02:16:29 -0600
My problem turned out to be using g_free to free the region structures
that I was using to set the clip region erase the right portion of the
background. I should have been using gdk_region_destroy.
Further confusion was caused by using the --enable-mem-profile option
to glib. This apparently leaks memory all on it's own, so I never
realised that I'd fixed my bug.
Thanks to everyone who helped me figure this out!
-davec
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]