[Pkg-telepathy-commits] [telepathy-glib] 05/12: base-client: fix TpConnection leak
Simon McVittie
smcv at debian.org
Wed Jan 29 12:55:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-glib.
commit 77173033efaa7c33d1badf446133c701e2ae890f
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Fri Jan 17 16:28:58 2014 +0100
base-client: fix TpConnection leak
---
telepathy-glib/base-client.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
index bd33b3c..dbe153f 100644
--- a/telepathy-glib/base-client.c
+++ b/telepathy-glib/base-client.c
@@ -2000,6 +2000,7 @@ _tp_base_client_observe_channels (TpSvcClientObserver *iface,
out:
g_clear_object (&account);
+ g_clear_object (&connection);
if (channels != NULL)
g_ptr_array_unref (channels);
@@ -2173,6 +2174,7 @@ _tp_base_client_add_dispatch_operation (TpSvcClientApprover *iface,
out:
g_clear_object (&account);
+ g_clear_object (&connection);
if (channels != NULL)
g_ptr_array_unref (channels);
@@ -2521,6 +2523,7 @@ _tp_base_client_handle_channels (TpSvcClientHandler *iface,
out:
g_clear_object (&account);
+ g_clear_object (&connection);
if (channels != NULL)
g_ptr_array_unref (channels);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib.git
More information about the Pkg-telepathy-commits
mailing list