shithub: opus-tools

Download patch

ref: 488abd90a818f41c1cdcb3ec3d466da2ed58c89e
parent: 0c1337f57e5b87fd23421904303fed3e575ce354
author: Mark Harris <mark.hsj@gmail.com>
date: Wed Sep 26 18:11:44 EDT 2018

opusdec: Call op_free after decoding is complete

Reported by Dmitriy

--- a/src/opusdec.c
+++ b/src/opusdec.c
@@ -1199,6 +1199,7 @@
    {
       fclose(fout);
    }
+   op_free(st);
 #ifdef WIN_UNICODE
    free_commandline_arguments_utf8(&argc_utf8, &argv_utf8);
    uninit_console_utf8();