opusdec: Call op_free after decoding is complete
authorMark Harris <mark.hsj@gmail.com>
Thu, 27 Sep 2018 05:11:44 +0000 (22:11 -0700)
committerMark Harris <mark.hsj@gmail.com>
Thu, 27 Sep 2018 05:11:44 +0000 (22:11 -0700)
Reported by Dmitriy

src/opusdec.c

index 6c1a917..c8171c7 100644 (file)
@@ -1199,6 +1199,7 @@ int main(int argc, char **argv)
    {
       fclose(fout);
    }
+   op_free(st);
 #ifdef WIN_UNICODE
    free_commandline_arguments_utf8(&argc_utf8, &argv_utf8);
    uninit_console_utf8();