diff options
author | Milan Crha <mcrha@redhat.com> | 2011-05-11 22:57:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-05-11 22:57:58 +0800 |
commit | e72c7e8dda826fbb089832f778585191ea784bee (patch) | |
tree | 0bf6f137e1823df2fbeedf7ce4e76621b02c97fb | |
parent | 80d27e81c9d750139716f56477ca8415a8faea95 (diff) | |
download | gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar.gz gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar.bz2 gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar.lz gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar.xz gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.tar.zst gsoc2013-evolution-e72c7e8dda826fbb089832f778585191ea784bee.zip |
Bug #649952 - Do not unref result of camel_session_get_service()
-rw-r--r-- | mail/em-folder-tree.c | 2 | ||||
-rw-r--r-- | 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 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 |