[evolution/wip/gsettings] Do not leak memory on each mail folder change
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Do not leak memory on each mail folder change
- Date: Wed, 14 Sep 2011 12:20:01 +0000 (UTC)
commit 32907e802f1853a6a834a8ffe2d4d8c1a03e5df3
Author: Milan Crha <mcrha redhat com>
Date: Mon Aug 1 15:09:10 2011 +0200
Do not leak memory on each mail folder change
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 ee1c55e..7299444 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]