From: Kostya Shishkov Date: Mon, 20 Oct 2008 05:59:50 +0000 (+0000) Subject: 34l: free RV3/4 context variables at the end X-Git-Tag: v0.5~2157 X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=ccfe8ae310b54814d22dde1ed289e6891cac243d;ds=sidebyside 34l: free RV3/4 context variables at the end Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index c8894be9e1..f93e6ebc97 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -1329,6 +1329,9 @@ av_cold int ff_rv34_decode_end(AVCodecContext *avctx) av_freep(&r->intra_types_hist); r->intra_types = NULL; av_freep(&r->mb_type); + av_freep(&r->cbp_luma); + av_freep(&r->cbp_chroma); + av_freep(&r->deblock_coefs); return 0; }