[telepathy-glib-0.20] telepathy-glib: channel-contacts: don' t leak the result preparing group members

Simon McVittie smcv at kemper.freedesktop.org
Mon Jan 7 05:04:20 PST 2013


Module: telepathy-glib
Branch: telepathy-glib-0.20
Commit: 08de9efcd7295f50d0883f048abfd00f3974502c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=08de9efcd7295f50d0883f048abfd00f3974502c

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Sep 12 15:56:31 2012 +0200

channel-contacts: don't leak the result preparing group members

---

 telepathy-glib/channel-contacts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/channel-contacts.c b/telepathy-glib/channel-contacts.c
index dc381a3..8cf274f 100644
--- a/telepathy-glib/channel-contacts.c
+++ b/telepathy-glib/channel-contacts.c
@@ -1090,6 +1090,7 @@ contacts_prepared_cb (GObject *object,
     g_simple_async_result_take_error (result, error);
 
   g_simple_async_result_complete (result);
+  g_object_unref (result);
 }
 
 static void



More information about the telepathy-commits mailing list