Re: Memory Leak with gtk_timeout_add

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!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]