Commit 630e6f1e authored by benoit's avatar benoit

Fix mem leak.

Patch by Ralf Terdic contact >AT< jswiff com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15612 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8b553de5
...@@ -124,6 +124,8 @@ X264_close(AVCodecContext *avctx) ...@@ -124,6 +124,8 @@ X264_close(AVCodecContext *avctx)
{ {
X264Context *x4 = avctx->priv_data; X264Context *x4 = avctx->priv_data;
av_freep(&avctx->extradata);
if(x4->enc) if(x4->enc)
x264_encoder_close(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