From 6f4a53f08be4746783f3cf0b448d776e2dedbe12 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 5 Jul 2012 15:40:57 +0200 Subject: [PATCH] Don't continue initialization of SecretService if failed * Don't open session or load collections on SecretService if the first part of the initialization failed --- library/secret-service.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/secret-service.c b/library/secret-service.c index d0ecbbd..0b9e923 100644 --- a/library/secret-service.c +++ b/library/secret-service.c @@ -592,10 +592,9 @@ on_init_base (GObject *source, g_simple_async_result_take_error (res, error); g_simple_async_result_complete (res); } else { - + service_ensure_for_flags_async (self, self->pv->init_flags, res); } - service_ensure_for_flags_async (self, self->pv->init_flags, res); g_object_unref (res); }