Don't leak the to_reset list. (#353914, Chris Wilson)

2006-09-09  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
        Don't leak the to_reset list.  (#353914, Chris Wilson)
This commit is contained in:
Matthias Clasen 2006-09-09 05:22:16 +00:00 committed by Matthias Clasen
parent 0724c7887b
commit 5c547a504f
2 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,11 @@
2006-09-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (_gtk_settings_reset_rc_values):
Don't leak the to_reset list. (#353914, Chris Wilson)
* gtk/gtkwidget.c: Add docs for the parent-set signal.
(#353772, Mariano Suárez-Alvarez)
2006-09-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (remove_all_selection_clipboards):

View File

@ -1480,6 +1480,8 @@ _gtk_settings_reset_rc_values (GtkSettings *settings)
g_datalist_id_remove_data (&settings->queued_settings, key_id);
}
g_slist_free (to_reset);
/* Now reset the active settings
*/
pspecs = g_object_class_list_properties (G_OBJECT_GET_CLASS (settings), NULL);