From 6f9152d77e2cbcbfea263a81e860e61c3f155cfc Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Wed, 27 Nov 2013 23:09:45 +0100 Subject: reset the error to NULL, so the next call is working --- src/mcd-account-manager-default.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mcd-account-manager-default.c b/src/mcd-account-manager-default.c index 0a89fe1..870faa8 100644 --- a/src/mcd-account-manager-default.c +++ b/src/mcd-account-manager-default.c @@ -237,6 +237,7 @@ _commit (const McpAccountStorage *self, { g_warning ("%s", error->message); g_error_free (error); + error = NULL; /* fall through anyway: writing to the file will fail, but it does * give us a chance to commit to the keyring too */ } -- 1.8.4.4