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
This commit is contained in:
JP Rosevear
2001-08-17 18:04:13 +00:00
committed by JP Rosevear
parent 4267d55b9f
commit ba8d4eb49a

View File

@ -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));