diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2013-12-04 18:34:30 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-12-04 18:28:56 +0000 |
commit | 0932dba29fa9de8e7268a924c4c93ccebb7dc65c (patch) | |
tree | a5ea51dea5b27f9de6c90ffdb1acd7fbe58cbdeb | |
parent | 51eb9027ec1b72591166ecde65793c9f5877ac16 (diff) | |
download | telepathy-mission-control-0932dba29fa9de8e7268a924c4c93ccebb7dc65c.tar.gz |
reset the error to NULL, so the next call is working
[fixed argument type -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72138
-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 */ } |