aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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