[farsight2/master] Free codecs at the end of the fs_codec_copy test

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


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

diff --git a/tests/check/base/fscodec.c b/tests/check/base/fscodec.c
index 9d538db..1382b1b 100644
--- a/tests/check/base/fscodec.c
+++ b/tests/check/base/fscodec.c
@@ -176,6 +176,8 @@ GST_START_TEST (test_fscodec_copy)
   fail_unless (fs_codec_are_equal (codec1, codec2) == TRUE,
       "Copy is not identical to the original");
 
+  fs_codec_destroy (codec1);
+  fs_codec_destroy (codec2);
 }
 GST_END_TEST;
 
-- 
1.5.6.5




More information about the farsight-commits mailing list