[farsight2/master] fix small leak in test

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


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

diff --git a/tests/check/rtp/codecs.c b/tests/check/rtp/codecs.c
index 484d041..e57ee8b 100644
--- a/tests/check/rtp/codecs.c
+++ b/tests/check/rtp/codecs.c
@@ -939,6 +939,8 @@ GST_START_TEST (test_rtpcodecs_dynamic_pt)
   }
   fs_codec_list_destroy (codecs);
 
+  fs_codec_list_destroy (codec_prefs);
+
   fail_if (item == NULL, "Could not force codec id");
 
  out:
-- 
1.5.6.5



More information about the farsight-commits mailing list