Bug #649952 - Do not unref result of camel_session_get_service()

This commit is contained in:
Milan Crha
2011-05-11 16:57:58 +02:00
parent 80d27e81c9
commit e72c7e8dda
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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