Red Hat Bugzilla – Bug 235657
leaking GConfClients ?
Last modified: 2007-11-30 17:12:01 EST
hunting for some small memleaks in nautilus, I noticed that
are leaking the clients, since they are using gconf_client_get_default
instead of eel_gconf_client_get_global.
A patch is in the upstream bug http://bugzilla.gnome.org/show_bug.cgi?id=427808
commited to trunk
Uhm, wrong bugzilla. Its been commited upstream. However, this will only leak
the refcount on the global default gconf client object, so its not very
important to backport the fix.
Are you sure ? It looks to me as if it leaks one GConfClient per
The way i read gconf_client_get_default is that it will always return the same
client object each time. If its created its then set on the engine so that the
next time lookup_client will find it.
Ah, ok. Then it is indeed not very important.