summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-01 17:26:59 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-04 12:54:48 +0200
commitd426569b302164130ad97aa44c804c1347e70f74 (patch)
tree9a981a348ac2238855415a7e3395b24f9f67ce92
parent32c94d6df1041d3428effa555979432c04dfad69 (diff)
TpConnection: Fix leaked result when preparing contact-list feature
https://bugs.freedesktop.org/show_bug.cgi?id=49373
-rw-r--r--telepathy-glib/connection-contact-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/connection-contact-list.c b/telepathy-glib/connection-contact-list.c
index 9969cd494..9e59af2d4 100644
--- a/telepathy-glib/connection-contact-list.c
+++ b/telepathy-glib/connection-contact-list.c
@@ -419,6 +419,7 @@ _tp_connection_prepare_contact_list_async (TpProxy *proxy,
if (self->priv->contact_list_state == TP_CONTACT_LIST_STATE_SUCCESS)
{
prepare_roster (self, result);
+ g_object_unref (result);
return;
}