aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-11-03 11:08:19 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-11-03 11:08:19 +0800
commit74e40944c275d678c56648be54f680d5b64d704e (patch)
tree41778e3549527220cde112fba1a74d02aac77c24 /addressbook
parent6b9364459ca281598cd6a568802eb7a7690e8a9f (diff)
downloadgsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.gz
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.bz2
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.lz
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.xz
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.zst
gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.zip
Leak select-names related data structures until the memory management
2001-11-02 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (impl_destroy): Leak select-names related data structures until the memory management issues get sorted out. Fixed bug #14086. svn path=/trunk/; revision=14578
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names-bonobo.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index a3f64f8c2d..2e1934ca7e 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-02 Jon Trowbridge <trow@ximian.com>
+
+ * gui/component/select-names/e-select-names-bonobo.c
+ (impl_destroy): Leak select-names related data structures until
+ the memory management issues get sorted out. Fixed bug #14086.
+
2001-10-31 Christopher James Lahey <clahey@ximian.com>
* gui/component/e-cardlist-model.c,
diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c
index abe3af3634..a3f4929fa6 100644
--- a/addressbook/gui/component/select-names/e-select-names-bonobo.c
+++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c
@@ -356,8 +356,14 @@ impl_destroy (GtkObject *object)
select_names = E_SELECT_NAMES_BONOBO (object);
priv = select_names->priv;
+
+ if (priv->manager->names) {
+ gtk_widget_destroy (GTK_WIDGET (priv->manager->names));
+ priv->manager->names = NULL;
+ }
- gtk_object_unref (GTK_OBJECT (priv->manager));
+ /* FIXME: We leak on purpose. This sucks. */
+ /* gtk_object_unref (GTK_OBJECT (priv->manager)); */
g_free (priv);
}