aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-08 00:39:46 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-08 00:39:46 +0800
commit101305e1c7dc24f5a40e80a900b0777b2634722f (patch)
treecc4fbb384d94d045c192c2b338e8f76db5b9c312 /shell/e-shell-content.c
parentba5bb60860c0e0eff92cd7d2c4ae098fa107c331 (diff)
downloadgsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.gz
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.bz2
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.lz
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.xz
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.zst
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.zip
Various memory leaks
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);
}