diff options
-rw-r--r-- | src/mcd-account-manager-default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcd-account-manager-default.c b/src/mcd-account-manager-default.c index 0a89fe1a..1403f843 100644 --- a/src/mcd-account-manager-default.c +++ b/src/mcd-account-manager-default.c @@ -236,7 +236,7 @@ _commit (const McpAccountStorage *self, if (!mcd_ensure_directory (dir, &error)) { g_warning ("%s", error->message); - g_error_free (error); + g_clear_error (&error); /* fall through anyway: writing to the file will fail, but it does * give us a chance to commit to the keyring too */ } |