Commit 89b3c521 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/atrac3plusdec: Free mdct contexts at the end

Fixes memleak
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4d74c8d5
......@@ -72,6 +72,9 @@ static av_cold int atrac3p_decode_close(AVCodecContext *avctx)
av_freep(&ctx->ch_units);
av_freep(&ctx->fdsp);
ff_mdct_end(&ctx->mdct_ctx);
ff_mdct_end(&ctx->ipqf_dct_ctx);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment