projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c3eae
)
Revert r14260
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 16 Aug 2008 14:13:49 +0000
(14:13 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 16 Aug 2008 14:13:49 +0000
(14:13 +0000)
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
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
6e5c40a
..
750ab43
100644
(file)
--- 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;