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:
parent
f5489de525
commit
88cdc89141
4 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-02 Thomas Cataldo <thomas.cataldo@aliacom.fr>
|
||||
|
||||
* gnome-wp-capplet.c: (wallpaper_properties_init): plug icon
|
||||
filename leak.
|
||||
|
||||
2004-12-11 Rodney Dawes <dobey@novell.com>
|
||||
|
||||
* gnome-wp-item.c (gnome_wp_item_update_description):
|
||||
|
|
|
@ -1102,6 +1102,7 @@ static void wallpaper_properties_init (void) {
|
|||
|
||||
if (icofile != NULL) {
|
||||
capplet->sitem = gtk_image_new_from_file (icofile);
|
||||
g_free (icofile);
|
||||
gtk_box_pack_start (GTK_BOX (mbox), capplet->sitem, FALSE, FALSE, 0);
|
||||
gtk_widget_show (capplet->sitem);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2005-01-02 Thomas Cataldo <thomas.cataldo@aliacom.fr>
|
||||
|
||||
* gconf-property-editor.c: (gconf_property_editor_finalize): plug
|
||||
gconf key leak.
|
||||
|
||||
2004-11-24 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* activate-settings-daemon.c: (popup_error_message):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue