Commit 1e9b3026 authored by Etienne Buira's avatar Etienne Buira Committed by Michael Niedermayer

libx264: fix double free

parent 8f2a2e60
......@@ -170,14 +170,6 @@ static av_cold int X264_close(AVCodecContext *avctx)
if (x4->enc)
x264_encoder_close(x4->enc);
av_free(x4->preset);
av_free(x4->tune);
av_free(x4->profile);
av_free(x4->level);
av_free(x4->stats);
av_free(x4->weightp);
av_free(x4->x264opts);
return 0;
}
......
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