From bc0a9f4e0587b9d503d52ef475293fcee3bcdaaf Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 1 Jun 2012 17:26:59 +0200 Subject: [PATCH] TpConnection: Fix leaked result when preparing contact-list feature https://bugs.freedesktop.org/show_bug.cgi?id=49373 --- telepathy-glib/connection-contact-list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/telepathy-glib/connection-contact-list.c b/telepathy-glib/connection-contact-list.c index a5ce270..f4b14e1 100644 --- a/telepathy-glib/connection-contact-list.c +++ b/telepathy-glib/connection-contact-list.c @@ -432,6 +432,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; } -- 1.7.9.5