[Pkg-telepathy-commits] [telepathy-mission-control-5] 08/16: reset the error to NULL, so the next call is working
Simon McVittie
smcv at debian.org
Mon Jan 27 14:50:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-mission-control-5.
commit 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 file changed, 1 insertion(+), 1 deletion(-)
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 */
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-5.git
More information about the Pkg-telepathy-commits
mailing list