From ba8d4eb49a8a67d3eb123d2c111a9acbe2cb6273 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 17 Aug 2001 18:04:13 +0000 Subject: destroy the addresses (clean_up): don't free the addresses, we need them 2001-08-17 JP Rosevear * gui/e-itip-control.c (destroy): destroy the addresses (clean_up): don't free the addresses, we need them svn path=/trunk/; revision=12164 --- calendar/gui/e-itip-control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui') 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)); -- cgit