Commit 03bbae75 authored by stefano's avatar stefano

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14260 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b136a01e
......@@ -973,6 +973,7 @@ 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