summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2018-12-29 15:51:16 -0800
committerMark Harris <mark.hsj@gmail.com>2018-12-29 15:55:18 -0800
commit9b24723915525afcba589ce77a320ba8d24edeb0 (patch)
tree2f55c3f393a993ea5bcbc95f41009b829398761e
parent9791b22b2c83980f6b4386c870cad58557c78007 (diff)
downloadopus-9b24723915525afcba589ce77a320ba8d24edeb0.tar.gz
Clean up resources in projection test
-rw-r--r--tests/test_opus_projection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_opus_projection.c b/tests/test_opus_projection.c
index 4d622e86..5f0d672c 100644
--- a/tests/test_opus_projection.c
+++ b/tests/test_opus_projection.c
@@ -360,6 +360,8 @@ void test_encode_decode(opus_int32 bitrate, opus_int32 channels,
goto bad_cleanup;
}
+ opus_projection_decoder_destroy(st_dec);
+ opus_projection_encoder_destroy(st_enc);
free(buffer_in);
free(buffer_out);
return;