[Telepathy-commits] [telepathy-gabble/master] Fix leak detected by coverity checks

Alban Crequy alban.crequy at collabora.co.uk
Tue Feb 10 01:18:50 PST 2009


---
 src/media-stream.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/media-stream.c b/src/media-stream.c
index f4e293d..841a887 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -1257,6 +1257,8 @@ new_remote_candidates_cb (GabbleJingleContent *content,
           1, transports,
           G_MAXUINT);
 
+      g_free (candidate_id);
+
       g_ptr_array_add (candidates, g_value_get_boxed (&candidate));
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list