summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-06-01 00:46:57 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-06-01 00:52:51 -0400
commitd6737c852204c5de6aac18792153f8d36e538205 (patch)
tree5f8085c2d1e2ec1eb6e061855ccb81ec7af7be82
parentbc1683d9832ae7f9dff2d4287ab84a142a0450c9 (diff)
downloadopus-d6737c852204c5de6aac18792153f8d36e538205.tar.gz
Avoid an inconsequential memory leak in tests/test_opus_encode.c.
-rw-r--r--tests/test_opus_encode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_opus_encode.c b/tests/test_opus_encode.c
index 658ab4ca..fed393ff 100644
--- a/tests/test_opus_encode.c
+++ b/tests/test_opus_encode.c
@@ -356,6 +356,7 @@ int run_test1(int no_fuzz)
opus_multistream_encoder_destroy(MSenc);
opus_decoder_destroy(dec);
opus_multistream_decoder_destroy(MSdec);
+ opus_multistream_decoder_destroy(MSdec_err);
for(i=0;i<10;i++)opus_decoder_destroy(dec_err[i]);
free(inbuf);
free(outbuf);