[folks/folks-0-2] Fix leak in tp-lowlevel.c



commit 8018f75e890d28baa3e3f6517627df18a7f9ee75
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Nov 18 21:26:04 2010 +0000

    Fix leak in tp-lowlevel.c
    
    Closes: bgo#635178

 NEWS                                 |    7 +++++++
 backends/telepathy/lib/tp-lowlevel.c |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index aa436da..48de60b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+Overview of changes from libfolks 0.2.1 to libfolks 0.2.2
+=========================================================
+
+Bugs fixed:
+* Bug 635178 â?? Leak in
+  folks_tp_lowlevel_connection_open_contact_list_channel_async
+
 Overview of changes from libfolks 0.2.0 to libfolks 0.2.1
 =========================================================
 
diff --git a/backends/telepathy/lib/tp-lowlevel.c b/backends/telepathy/lib/tp-lowlevel.c
index bac6d3c..b12e54a 100644
--- a/backends/telepathy/lib/tp-lowlevel.c
+++ b/backends/telepathy/lib/tp-lowlevel.c
@@ -93,6 +93,8 @@ folks_tp_lowlevel_connection_open_contact_list_channel_async (
       folks_tp_lowlevel_connection_open_contact_list_channel_finish);
   tp_cli_connection_interface_requests_call_ensure_channel (conn, -1, request,
       connection_ensure_channel_cb, result, NULL, G_OBJECT (conn));
+
+  g_hash_table_unref (request);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]