From 83b915d495eab386c07a4ec7859acaf64fcf58c9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 23 Aug 2013 23:12:42 +0000 Subject: truemotion1: use av_freep() Signed-off-by: Paul B Mahol --- libavcodec/truemotion1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/truemotion1.c') 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; } -- cgit v1.2.3