aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-05-11 22:57:58 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:12 +0800
commit43ccbdd2a56d64a70fb30a13b42c25f394ce7cb2 (patch)
treef42a581497a1d3bfbaf02b6d1d5d0a7ad42d1c0b /mail
parent30de1ca7f0d20bd14eb05f2de52d2d2f7881f3e5 (diff)
downloadgsoc2013-evolution-43ccbdd2a56d64a70fb30a13b42c25f394ce7cb2.tar.gz
gsoc2013-evolution-43ccbdd2a56d64a70fb30a13b42c25f394ce7cb2.tar.zst
gsoc2013-evolution-43ccbdd2a56d64a70fb30a13b42c25f394ce7cb2.zip
Bug #649952 - Do not unref result of camel_session_get_service()
Diffstat (limited to 'mail')
-rw-r--r--mail/em-folder-tree.c2
-rw-r--r--mail/mail-ops.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 43bf83c58c..b9b1173011 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -478,6 +478,8 @@ folder_tree_expand_node (const gchar *key,
if (store == NULL)
return;
+
+ g_object_ref (store);
} else if (!strcmp (uid, "vfolder")) {
if (!(store = vfolder_store))
return;
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 8288ac2fd9..d6507ec4c3 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2408,7 +2408,6 @@ check_service_exec (struct _check_msg *m,
m->authtypes = camel_service_query_auth_types_sync (
service, cancellable, error);
- g_object_unref (service);
}
static void