[telepathy-gabble/master] Unleak GetSessionHandlers

Will Thompson will.thompson at collabora.co.uk
Fri Apr 10 08:33:15 PDT 2009


Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
 src/media-channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index 1d966e1..0087ac3 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -924,6 +924,7 @@ gabble_media_channel_get_session_handlers (TpSvcChannelInterfaceMediaSignalling
 
   tp_svc_channel_interface_media_signalling_return_from_get_session_handlers (
       context, ret);
+  g_ptr_array_foreach (ret, (GFunc) g_value_array_free, NULL);
   g_ptr_array_free (ret, TRUE);
 }
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list