Commit 8134edf3 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/cdxl: use av_freep()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 8728360b
...@@ -291,7 +291,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx) ...@@ -291,7 +291,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx)
{ {
CDXLVideoContext *c = avctx->priv_data; CDXLVideoContext *c = avctx->priv_data;
av_free(c->new_video); av_freep(&c->new_video);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment