[Telepathy-commits] [telepathy-salut/master] ImManager: don't leak a GSList when emitting new-channel
Will Thompson
will.thompson at collabora.co.uk
Thu Oct 23 07:30:41 PDT 2008
---
src/salut-im-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/salut-im-manager.c b/src/salut-im-manager.c
index 273b618..d36266b 100644
--- a/src/salut-im-manager.c
+++ b/src/salut-im-manager.c
@@ -623,6 +623,8 @@ salut_im_manager_new_channel (SalutImManager *mgr,
tp_channel_manager_emit_new_channel (mgr, TP_EXPORTABLE_CHANNEL (chan),
requests);
+ g_slist_free (requests);
+
g_signal_connect (chan, "closed", G_CALLBACK (im_channel_closed_cb), mgr);
return chan;
--
1.5.6.5
More information about the Telepathy-commits
mailing list