Index: e-select-names-bonobo.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/select-names/e-select-names-bonobo.c,v
retrieving revision 1.27
diff -u -r1.27 e-select-names-bonobo.c
--- e-select-names-bonobo.c	2001/11/03 03:08:19	1.27
+++ e-select-names-bonobo.c	2001/11/07 19:50:46
@@ -348,11 +348,18 @@
 
 /* GtkObject methods.  */
 
+/* ACK! */
+typedef struct {
+	char *id;
+	EEntry *entry;
+} ESelectNamesManagerEntry;
+
 static void
 impl_destroy (GtkObject *object)
 {
 	ESelectNamesBonobo *select_names;
 	ESelectNamesBonoboPrivate *priv;
+	EIterator *iterator;
 
 	select_names = E_SELECT_NAMES_BONOBO (object);
 	priv = select_names->priv;
@@ -361,6 +368,15 @@
 		gtk_widget_destroy (GTK_WIDGET (priv->manager->names));
 		priv->manager->names = NULL;
 	}
+
+	/* More suckage */
+	iterator = e_list_get_iterator (priv->manager->entries);
+	for (e_iterator_reset (iterator); e_iterator_is_valid (iterator); e_iterator_next (iterator)) {
+		ESelectNamesManagerEntry *entry = (ESelectNamesManagerEntry *)e_iterator_get (iterator);
+		if (entry && entry->entry)
+			gtk_widget_destroy (GTK_WIDGET (entry->entry));
+	}
+	gtk_object_unref (GTK_OBJECT (iterator));
 	
 	/* FIXME: We leak on purpose.  This sucks. */
 	/* gtk_object_unref (GTK_OBJECT (priv->manager)); */
