telepathy-glib: call-channel: fix a memory leak

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 12 21:33:22 UTC 2019


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

Author: Fabrice Bellet <fabrice at bellet.info>
Date:   Thu Dec 15 11:36:05 2016 +0100

call-channel: fix a memory leak

---

 telepathy-glib/call-channel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/telepathy-glib/call-channel.c b/telepathy-glib/call-channel.c
index 8ed76323b..2a1fa203d 100644
--- a/telepathy-glib/call-channel.c
+++ b/telepathy-glib/call-channel.c
@@ -525,6 +525,8 @@ update_call_members (TpCallChannel *self,
 
   _tp_channel_contacts_queue_prepare_async ((TpChannel *) self,
       contacts, update_call_members_prepared_cb, data);
+
+  g_ptr_array_unref (contacts);
 }
 
 static void



More information about the telepathy-commits mailing list