diff options
author | Milan Crha <mcrha@redhat.com> | 2011-08-01 21:09:10 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:41 +0800 |
commit | 32907e802f1853a6a834a8ffe2d4d8c1a03e5df3 (patch) | |
tree | 3705300f62f2c5e849e47096771deb906fc8fe46 /modules/mail | |
parent | c174dc83062bc23b18a35373403effa93e454f7e (diff) | |
download | gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar.gz gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar.bz2 gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar.lz gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar.xz gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.tar.zst gsoc2013-evolution-32907e802f1853a6a834a8ffe2d4d8c1a03e5df3.zip |
Do not leak memory on each mail folder change
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/e-mail-shell-view-private.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c index ee1c55ec24..72994449b3 100644 --- a/modules/mail/e-mail-shell-view-private.c +++ b/modules/mail/e-mail-shell-view-private.c @@ -115,6 +115,7 @@ mail_shell_view_folder_tree_selected_cb (EMailShellView *mail_shell_view, /* Cancel any unfinished open folder operations. */ if (mail_shell_view->priv->opening_folder != NULL) { g_cancellable_cancel (mail_shell_view->priv->opening_folder); + g_object_unref (mail_shell_view->priv->opening_folder); mail_shell_view->priv->opening_folder = NULL; } |