libavcodec/libxavs: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/96/head
Michael Niedermayer 10 years ago
parent ade140eb73
commit 98fbf8ef67
  1. 2
      libavcodec/libxavs.c

@ -201,7 +201,7 @@ static av_cold int XAVS_close(AVCodecContext *avctx)
XavsContext *x4 = avctx->priv_data;
av_freep(&avctx->extradata);
av_free(x4->sei);
av_freep(&x4->sei);
av_freep(&x4->pts_buffer);
if (x4->enc)

Loading…
Cancel
Save