From 8134edf3eb1a2479462f107e160d6f3c29853c46 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 14 Sep 2013 10:45:14 +0000 Subject: [PATCH] avcodec/cdxl: use av_freep() Signed-off-by: Paul B Mahol --- libavcodec/cdxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index 468b294865..e6bcaeaa09 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -291,7 +291,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx) { CDXLVideoContext *c = avctx->priv_data; - av_free(c->new_video); + av_freep(&c->new_video); return 0; }