diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index b0cca65a7c..1b6f55f801 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -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; }