From 6612d6d62e143599ee3c59ce81b157cecf0cdba9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 5 Nov 2020 03:51:50 +0100 Subject: [PATCH] avcodec/atrac9dec: Replace av_free() by av_freep() in close function Signed-off-by: Andreas Rheinhardt --- libavcodec/atrac9dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }