GNOME Bugzilla – Bug 686573
memory leak in dconf_rebuilder_get_parent()
Last modified: 2012-10-22 06:45:15 UTC
Using dconf 0.14.0 with gnome 3.6*, i get a massive memory leak in dconf-service, about 1GB per day in my case. This seems to be exposed by a gnome-shell extension which monitors a dconf key a couple of times per minute, but even with no extension, the leak is visible (it just takes longer). I traced the leak down to dconf-rebuilder.c:48, in dconf_rebuilder_get_parent(). It seems parent_name is never freed. http://git.gnome.org/browse/dconf/tree/service/dconf-rebuilder.c#n31 leak introduced by http://git.gnome.org/browse/dconf/commit/service/dconf-rebuilder.c?id=facae6ffcd5b2935f9b708eecb1fd5aa7c8ddf86
Thanks for the bug. I'm currently in the middle of rewriting this code and plan to land the changes soon, so no patches please :)