[telepathy-mission-control-5.16] telepathy-mission-control: reset the error to NULL, so the next call is working
Simon McVittie
smcv at kemper.freedesktop.org
Wed Dec 4 10:29:18 PST 2013
Module: telepathy-mission-control
Branch: telepathy-mission-control-5.16
Commit: 0932dba29fa9de8e7268a924c4c93ccebb7dc65c
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=0932dba29fa9de8e7268a924c4c93ccebb7dc65c
Author: Sebastien Bacher <seb128 at ubuntu.com>
Date: Wed Dec 4 18:34:30 2013 +0100
reset the error to NULL, so the next call is working
[fixed argument type -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72138
---
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 0a89fe1..1403f84 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 */
}
More information about the telepathy-commits
mailing list