[Pkg-telepathy-commits] [telepathy-mission-control-6] 202/280: created_cb: don't leak error

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:24 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-6.

commit fb880af29636b7540116b865a122fa0757dd6ced
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Nov 15 13:16:43 2013 +0000

    created_cb: don't leak error
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
---
 src/mcd-account-manager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mcd-account-manager.c b/src/mcd-account-manager.c
index 54320c0..2af47c0 100644
--- a/src/mcd-account-manager.c
+++ b/src/mcd-account-manager.c
@@ -308,6 +308,7 @@ created_cb (GObject *storage_plugin_obj,
     else
     {
         WARNING ("%s", error->message);
+        g_clear_error (&error);
         goto finish;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list