GNOME Bugzilla – Bug 656486
gtk_combo_box_new_with_model_and_entry leaks the list store (again)
Last modified: 2011-08-20 21:46:12 UTC
Created attachment 193794 [details] test2.c This is tested with Ubuntu 11.04 / gtk-2.24.4 Searching for leaks for this component reveals that is has been a problem in the past aswell. BTW: For me, it only leaks if the liststore has data-set (see attachment)
The given attachment should provide two warnings about invalid unref-ing, but for me it only provides one, which tells me that something left a reference behind.
I've done some more research. The bug doesn't occure when testing on my gentoo host using the same GTK version. So this bug is either triggered by a ubuntu patch or a theme engine. Further I traced down the issue to be the combo-box itself. gtk_combo_box_finalize is never called if model contains data on my ubuntu host. Further investigation gives ubuntu the blame, closing the bug-report: https://bugs.launchpad.net/appmenu-gtk/+bug/830260