[Pkg-telepathy-commits] [telepathy-glib-1] 155/212: tp_svc_interface_skeleton_get_properties: don't leak the parent object

Simon McVittie smcv at debian.org
Wed May 14 12:09:09 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-1.

commit b51097a3391ffbcf1d652504dc5c6271a2e627fe
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Apr 10 12:34:48 2014 +0100

    tp_svc_interface_skeleton_get_properties: don't leak the parent object
    
    Reviewed-by: Xavier Claessens <xavier.claessens at collabora.com>
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77189
---
 telepathy-glib/svc-interface-skeleton.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/telepathy-glib/svc-interface-skeleton.c b/telepathy-glib/svc-interface-skeleton.c
index 5fd9de2..b1f6144 100644
--- a/telepathy-glib/svc-interface-skeleton.c
+++ b/telepathy-glib/svc-interface-skeleton.c
@@ -183,6 +183,7 @@ tp_svc_interface_skeleton_get_properties (GDBusInterfaceSkeleton *skel)
 
   ret = g_variant_ref_sink (tp_asv_to_vardict (asv));
   g_hash_table_unref (asv);
+  g_object_unref (object);
   return ret;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git



More information about the Pkg-telepathy-commits mailing list