Free the uri variable.

2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Free the uri variable.

	* e-shell.c: Free the local_directory variable.

svn path=/trunk/; revision=3385
This commit is contained in:
Christopher James Lahey
2000-06-02 08:01:25 +00:00
committed by Chris Lahey
parent f6d3bfae53
commit ef233d76ee
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* e-shell-view.c: Free the uri variable.
* e-shell.c: Free the local_directory variable.
2000-06-02 Ettore Perazzoli <ettore@helixcode.com>
* main.c (view_delete_event_cb): New callback for the

View File

@ -343,6 +343,8 @@ destroy (GtkObject *object)
g_hash_table_foreach (priv->uri_to_control, hash_forall_destroy_control, NULL);
g_hash_table_destroy (priv->uri_to_control);
g_free (priv->uri);
g_free (priv);

View File

@ -244,6 +244,8 @@ destroy (GtkObject *object)
shell = E_SHELL (object);
priv = shell->priv;
g_free (priv->local_directory);
if (priv->storage_set != NULL)
gtk_object_unref (GTK_OBJECT (priv->storage_set));