aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 248566ec41..aea4c8f4ac 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-03 Mike Kestner <mkestner@ximian.com>
+
+ * 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.
+
2002-09-03 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Use
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*