shithub: opus

Download patch

ref: d6737c852204c5de6aac18792153f8d36e538205
parent: bc1683d9832ae7f9dff2d4287ab84a142a0450c9
author: Gregory Maxwell <[email protected]>
date: Thu May 31 20:46:57 EDT 2012

Avoid an inconsequential memory leak in tests/test_opus_encode.c.

--- a/tests/test_opus_encode.c
+++ b/tests/test_opus_encode.c
@@ -356,6 +356,7 @@
    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);