GNOME Bugzilla – Bug 332639
Fix memory leaks in draw_flat_box and gtk_treeview_get_header_index
Last modified: 2006-08-25 20:17:45 UTC
Please describe the problem: Current CVS of the gtk-engines clearlooks engine leaks a cairo_t every flat_box draw that isn't for a treeview selection, and a GList every GtkTreeView header button draw. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 60162 [details] [review] Fix for both of the aforementioned leaks Fixes the two memleaks and also makes the detail string check use known string length in the strncmp comparison as to not waste time on a strlen().
Fun, combo_box_get_seperator_pos () also leaks the children lists
2006-02-27 Richard A. Stellingwerff <remenic@gmail.com> * engines/clearlooks/src/clearlooks_style.c: (draw_flat_box): * engines/clearlooks/src/support.c: (gtk_treeview_get_header_index): Applied patch from #332639. Fixes memory leaks.
Would you please backport this fix ton 2.6 ?
Created attachment 71208 [details] [review] Proposed backport of the fix for 2.6.10
I commited the fix to the 2-6 branch.