From 59ef7e341ba9880c597e87ed5d97cf6d84e288f0 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 4 Sep 2002 01:49:21 +0000 Subject: unref the "without", adapter, and model, then chain up the GnomeDialog 2002-09-03 Mike Kestner * gui/component/select-names/e-select-names.c (e_select_names_destroy): unref the "without", adapter, and model, then chain up the GnomeDialog destroy function. svn path=/trunk/; revision=17960 --- addressbook/gui/component/select-names/e-select-names.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 193ec51ff5..2d91290be4 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -596,8 +596,13 @@ e_select_names_destroy (GtkObject *object) gtk_object_unref(GTK_OBJECT(e_select_names->gui)); g_hash_table_foreach(e_select_names->children, (GHFunc) e_select_names_child_free, e_select_names); g_hash_table_destroy(e_select_names->children); + gtk_object_unref(GTK_OBJECT(e_select_names->without)); + gtk_object_unref(GTK_OBJECT(e_select_names->adapter)); + gtk_object_unref(GTK_OBJECT(e_select_names->model)); g_free(e_select_names->def); + + (*(GTK_OBJECT_CLASS(parent_class))->destroy)(object); } GtkWidget* -- cgit v1.2.3