diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-07-16 22:10:34 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-07-16 22:10:34 +0000 |
commit | ef2b64f04c7269fe59dab0491784e06ade7892ca (patch) | |
tree | 024544eb2b6eb9a532b2256df5ab8e22b50b772d | |
parent | 9dff86c672f06c3b342bbe6d89c52937900d23c7 (diff) | |
download | ffmpeg-ef2b64f04c7269fe59dab0491784e06ade7892ca.tar.gz |
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
Originally committed as revision 14260 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 92f73b735b..48f09fbff6 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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; |