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

Xavier Claessens xclaesse at kemper.freedesktop.org
Sat Sep 15 06:48:09 PDT 2012


Module: telepathy-glib
Branch: next
Commit: 2f3d04a0fb793570967d2451c2ed3b6c6c0ea733
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=2f3d04a0fb793570967d2451c2ed3b6c6c0ea733

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 3e55584..687e6c5 100644
--- a/telepathy-glib/channel-contacts.c
+++ b/telepathy-glib/channel-contacts.c
@@ -1083,6 +1083,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