summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-16 14:13:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-16 14:13:49 +0000
commit847d05360baf01c71c89cf9602fbbf5bd481c232 (patch)
tree2ec29f2a3e7b652613504cc1a32db94d3499f909 /libavcodec/utils.c
parentf5c3eae3cbdc97597d2390ab657e37cc84f15dda (diff)
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
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 6e5c40a588..750ab43bea 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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;