Commit c00f368c authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ac3dec: use av_freep() for saftey

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 27f77a37
......@@ -1609,7 +1609,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx)
ff_mdct_end(&s->imdct_512);
ff_mdct_end(&s->imdct_256);
#if (USE_FIXED)
av_free(s->fdsp);
av_freep(&s->fdsp);
#endif
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