libx264: fix double free

This commit is contained in:
Etienne Buira 2011-06-07 22:14:18 +02:00 committed by Michael Niedermayer
parent 8f2a2e6051
commit 1e9b302690
1 changed files with 0 additions and 8 deletions

View File

@ -170,14 +170,6 @@ static av_cold int X264_close(AVCodecContext *avctx)
if (x4->enc) if (x4->enc)
x264_encoder_close(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; return 0;
} }