avcodec/cdxl: use av_freep()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-09-14 10:45:14 +00:00
parent 8728360b56
commit 8134edf3eb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}