[farsight2/master] Don't leak candidate in test

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:22:26 PST 2008


---
 tests/check/main/rtpsendcodecs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/check/main/rtpsendcodecs.c b/tests/check/main/rtpsendcodecs.c
index 8781865..3e765f5 100644
--- a/tests/check/main/rtpsendcodecs.c
+++ b/tests/check/main/rtpsendcodecs.c
@@ -270,6 +270,8 @@ one_way (GCallback havedata_handler, gpointer data)
       "Could not set remote candidate");
   fs_stream_remote_candidates_added (stream);
 
+  fs_candidate_destroy (candidate);
+
   set_codecs (dat, stream);
 
   g_main_loop_run (loop);
-- 
1.5.6.5




More information about the farsight-commits mailing list