avcodec/atrac3plusdec: Free mdct contexts at the end
Fixes memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4d74c8d550
commit
89b3c5215a
@ -72,6 +72,9 @@ static av_cold int atrac3p_decode_close(AVCodecContext *avctx)
|
|||||||
av_freep(&ctx->ch_units);
|
av_freep(&ctx->ch_units);
|
||||||
av_freep(&ctx->fdsp);
|
av_freep(&ctx->fdsp);
|
||||||
|
|
||||||
|
ff_mdct_end(&ctx->mdct_ctx);
|
||||||
|
ff_mdct_end(&ctx->ipqf_dct_ctx);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user