aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 83942aa4fc..5c054b9ead 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -914,8 +914,10 @@ destroy (GtkObject *object)
g_free (priv->local_directory);
- if (priv->storage_set != NULL)
+ if (priv->storage_set != NULL) {
gtk_object_unref (GTK_OBJECT (priv->storage_set));
+ priv->storage_set = NULL;
+ }
if (priv->local_storage != NULL)
gtk_object_unref (GTK_OBJECT (priv->local_storage));