Commit 5c4e9728 authored by Ralf Terdic's avatar Ralf Terdic Committed by Benoit Fouet
Browse files

Fix mem leak.

Patch by Ralf Terdic contact >AT< jswiff com

Originally committed as revision 15612 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 95240bf3
......@@ -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);
......
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