[folks] Bug 642866 — tp-lowlevel leaks TpChannel
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Bug 642866 — tp-lowlevel leaks TpChannel
- Date: Sun, 27 Feb 2011 16:35:08 +0000 (UTC)
commit 4d3fad486007238fb20a5024b5d1d3a5b8476fc1
Author: Philip Withnall <philip withnall collabora co uk>
Date: Sun Feb 27 16:34:06 2011 +0000
Bug 642866 â?? tp-lowlevel leaks TpChannel
Fix a leak of TpChannels from tp-lowlevel.c, spotted by Guillaume Desmottes
<gdesmott gnome org>. Closes: bgo#642866
backends/telepathy/lib/tp-lowlevel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/lib/tp-lowlevel.c b/backends/telepathy/lib/tp-lowlevel.c
index 2e9150f..5516deb 100644
--- a/backends/telepathy/lib/tp-lowlevel.c
+++ b/backends/telepathy/lib/tp-lowlevel.c
@@ -65,7 +65,7 @@ connection_ensure_channel_cb (TpConnection *conn,
/* FIXME: pass in an error here and react to it */
channel = tp_channel_new_from_properties (conn, path, properties, NULL);
g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (channel),
- NULL);
+ (GDestroyNotify) g_object_unref);
g_object_unref (channel);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]