aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-08-18 02:04:13 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-08-18 02:04:13 +0800
commitba8d4eb49a8a67d3eb123d2c111a9acbe2cb6273 (patch)
treebecfd4537c028018838a107a53c9e3be35c8e3d9 /calendar/gui
parent4267d55b9fe5bf6c5c273b2c2a591626f6f34487 (diff)
downloadgsoc2013-evolution-ba8d4eb49a8a67d3eb123d2c111a9acbe2cb6273.tar.gz
gsoc2013-evolution-ba8d4eb49a8a67d3eb123d2c111a9acbe2cb6273.tar.zst
gsoc2013-evolution-ba8d4eb49a8a67d3eb123d2c111a9acbe2cb6273.zip
destroy the addresses (clean_up): don't free the addresses, we need them
2001-08-17 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (destroy): destroy the addresses (clean_up): don't free the addresses, we need them svn path=/trunk/; revision=12164
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-itip-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 689e0c6b3e..d1cfe95c5d 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -288,9 +288,6 @@ clean_up (EItipControl *itip)
priv->current = 0;
priv->total = 0;
- itip_addresses_free (priv->addresses);
- priv->addresses = NULL;
-
priv->my_address = NULL;
g_free (priv->from_address);
priv->from_address = NULL;
@@ -305,6 +302,9 @@ destroy (GtkObject *obj)
priv = itip->priv;
clean_up (itip);
+
+ itip_addresses_free (priv->addresses);
+ priv->addresses = NULL;
gtk_object_unref (GTK_OBJECT (priv->event_client));
gtk_object_unref (GTK_OBJECT (priv->task_client));