mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-06 15:31:00 +00:00
Revert r14260
Log: Free in avcodec_close() avctx->rc_eq. Fix a memory leak. Reason running free() on random pointers. Originally committed as revision 14787 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f5c3eae3cb
commit
847d05360b
1 changed files with 0 additions and 1 deletions
|
@ -994,7 +994,6 @@ int avcodec_close(AVCodecContext *avctx)
|
||||||
avctx->codec->close(avctx);
|
avctx->codec->close(avctx);
|
||||||
avcodec_default_free_buffers(avctx);
|
avcodec_default_free_buffers(avctx);
|
||||||
av_freep(&avctx->priv_data);
|
av_freep(&avctx->priv_data);
|
||||||
av_freep(&avctx->rc_eq);
|
|
||||||
avctx->codec = NULL;
|
avctx->codec = NULL;
|
||||||
entangled_thread_counter--;
|
entangled_thread_counter--;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue