GNOME Bugzilla – Bug 139723
unref GConfClient
Last modified: 2004-12-22 21:47:04 UTC
The GConf docs say: ________________________________________________ gconf_client_get_default() Creates a new GConfClient using the default GConfEngine. Normally this is the engine you want. If someone else is already using the default GConfClient, this function returns the same one they're using, but with the reference count incremented. So you have to unref either way. Returns : a new GConfClient. g_object_unref() when you're done. ________________________________________________ currently there are a couple of places where the code does: foo_bar_func (gconf_client_get_default(), blah, blah); so the client is not unrefed.
Created attachment 26563 [details] [review] proposed patch
Seems reasonable. I'll commit for 2.6.1
Apologies this slipped through the cracks as I was running the check lists. I've committed it to HEAD, and will get it into the gnome-2-6 tree when I have one setup.