diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-11-03 11:08:19 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-11-03 11:08:19 +0800 |
commit | 74e40944c275d678c56648be54f680d5b64d704e (patch) | |
tree | 41778e3549527220cde112fba1a74d02aac77c24 /addressbook/gui/component | |
parent | 6b9364459ca281598cd6a568802eb7a7690e8a9f (diff) | |
download | gsoc2013-evolution-74e40944c275d678c56648be54f680d5b64d704e.tar.gz 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/gui/component')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 8 |
1 files changed, 7 insertions, 1 deletions
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); } |