Fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Etienne Buira 2011-05-26 21:02:50 +02:00 committed by Michael Niedermayer
parent 28768579aa
commit 5e0dafe8ca

View File

@ -176,6 +176,7 @@ static av_cold int X264_close(AVCodecContext *avctx)
av_free(x4->level);
av_free(x4->stats);
av_free(x4->weightp);
av_free(x4->x264opts);
return 0;
}