You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
libavcodec/libxavs: Use av_freep() avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user