plug gconf key leak.

2005-01-02  Thomas Cataldo  <thomas.cataldo@aliacom.fr>

	* gconf-property-editor.c: (gconf_property_editor_finalize): plug
	gconf key leak.

2005-01-02  Thomas Cataldo  <thomas.cataldo@aliacom.fr>

	* gnome-wp-capplet.c: (wallpaper_properties_init): plug icon
	filename leak.
This commit is contained in:
Thomas Cataldo 2005-01-02 00:43:06 +00:00 committed by Sebastien Bacher
parent f5489de525
commit 88cdc89141
4 changed files with 13 additions and 0 deletions

View file

@ -328,6 +328,8 @@ gconf_property_editor_finalize (GObject *object)
g_return_if_fail (IS_GCONF_PROPERTY_EDITOR (object));
gconf_property_editor = GCONF_PROPERTY_EDITOR (object);
g_free (gconf_property_editor->p->key);
if (gconf_property_editor->p->data_free_cb)
gconf_property_editor->p->data_free_cb (gconf_property_editor->p->data);