diff --git a/libavcodec/atrac9dec.c b/libavcodec/atrac9dec.c index 0477b304d2..a7de037b2c 100644 --- a/libavcodec/atrac9dec.c +++ b/libavcodec/atrac9dec.c @@ -838,7 +838,7 @@ static av_cold int atrac9_decode_close(AVCodecContext *avctx) ff_free_vlc(&s->coeff_vlc[i][j][k]); ff_mdct_end(&s->imdct); - av_free(s->fdsp); + av_freep(&s->fdsp); return 0; }