avcodec/cdxl: use av_freep()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/36/head
Paul B Mahol 12 years ago
parent 8728360b56
commit 8134edf3eb
  1. 2
      libavcodec/cdxl.c

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

Loading…
Cancel
Save