aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r--shell/e-shell-content.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 5173ee8c83..527ef250a6 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -142,6 +142,11 @@ shell_content_dispose (GObject *object)
priv->shell_view = NULL;
}
+ if (priv->user_filename) {
+ g_free (priv->user_filename);
+ priv->user_filename = NULL;
+ }
+
/* Chain up to parent's dispose() method. */
G_OBJECT_CLASS (e_shell_content_parent_class)->dispose (object);
}