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:
95240bf
)
Fix mem leak.
author
Ralf Terdic
<contact@jswiff.com>
Mon, 13 Oct 2008 13:47:05 +0000
(13:47 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Mon, 13 Oct 2008 13:47:05 +0000
(13:47 +0000)
Patch by Ralf Terdic contact >AT< jswiff com
Originally committed as revision 15612 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libx264.c
patch
|
blob
|
history
diff --git
a/libavcodec/libx264.c
b/libavcodec/libx264.c
index 4f7280b6d3981365051e90fe60186f156fdd1a6d..d82756b62f75b65d9bcfdf2ffdcd0f2d6959b6b3 100644
(file)
--- a/
libavcodec/libx264.c
+++ b/
libavcodec/libx264.c
@@
-124,6
+124,8
@@
X264_close(AVCodecContext *avctx)
{
X264Context *x4 = avctx->priv_data;
+ av_freep(&avctx->extradata);
+
if(x4->enc)
x264_encoder_close(x4->enc);