[evolution/wip/gsettings] Bug #649952 - Do not unref result of camel_session_get_service()
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #649952 - Do not unref result of camel_session_get_service()
- Date: Wed, 29 Jun 2011 17:38:49 +0000 (UTC)
commit 43ccbdd2a56d64a70fb30a13b42c25f394ce7cb2
Author: Milan Crha <mcrha redhat com>
Date: Wed May 11 16:57:58 2011 +0200
Bug #649952 - Do not unref result of camel_session_get_service()
mail/em-folder-tree.c | 2 ++
mail/mail-ops.c | 1 -
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 43bf83c..b9b1173 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 8288ac2..d6507ec 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]