[FFmpeg-cvslog] r14787 - trunk/libavcodec/utils.c
michael
subversion
Sat Aug 16 16:13:50 CEST 2008
Author: michael
Date: Sat Aug 16 16:13:49 2008
New Revision: 14787
Log:
Revert r14260
Log:
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
Reason running free() on random pointers.
Modified:
trunk/libavcodec/utils.c
Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c (original)
+++ trunk/libavcodec/utils.c Sat Aug 16 16:13:49 2008
@@ -994,7 +994,6 @@ int avcodec_close(AVCodecContext *avctx)
avctx->codec->close(avctx);
avcodec_default_free_buffers(avctx);
av_freep(&avctx->priv_data);
- av_freep(&avctx->rc_eq);
avctx->codec = NULL;
entangled_thread_counter--;
return 0;
More information about the ffmpeg-cvslog
mailing list