From 90411f7ed669d2f823468c4157647d73b0b28ebe Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 28 Aug 2013 20:53:21 +0200 Subject: [PATCH] snowenc: Fix memleak of the ratecontrol related memory Signed-off-by: Michael Niedermayer --- libavcodec/snowenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 33d768510f..3a113d0267 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1963,6 +1963,7 @@ static av_cold int encode_end(AVCodecContext *avctx) SnowContext *s = avctx->priv_data; ff_snow_common_end(s); + ff_rate_control_uninit(&s->m); av_frame_unref(&s->input_picture); av_free(avctx->stats_out);