Commit e0c16d76 authored by michael's avatar michael

Revert r14260

	Log:
	Free in avcodec_close() avctx->rc_eq. Fix a memory leak.

Reason running free() on random pointers.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14787 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8f4c3916
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment