summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-10 12:34:48 +0100
committerXavier Claessens <xavier.claessens@collabora.com>2014-04-14 14:30:26 -0400
commita20136c9483a61670101371b8ac51f0bae48c634 (patch)
treec7afbba2b206f95f4a0c16dbb32cb56182b73c75
parenta242a8491d1fe00115a80efa949bff0316da95cb (diff)
tp_svc_interface_skeleton_get_properties: don't leak the parent object
-rw-r--r--telepathy-glib/svc-interface-skeleton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/svc-interface-skeleton.c b/telepathy-glib/svc-interface-skeleton.c
index 5fd9de2d9..b1f6144a7 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;
}