diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index 5a387ca168..a1f497602e 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -891,7 +891,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx) TrueMotion1Context *s = avctx->priv_data; av_frame_unref(&s->frame); - av_free(s->vert_pred); + av_freep(&s->vert_pred); return 0; }