aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-10-20 05:59:50 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-10-20 05:59:50 +0000
commitccfe8ae310b54814d22dde1ed289e6891cac243d (patch)
treeba3478a7a4205ceb4f305c4920e50deec767347e
parentdef4f63b85ff2a56d11f373e802db52e8de12c0b (diff)
downloadffmpeg-ccfe8ae310b54814d22dde1ed289e6891cac243d.tar.gz
34l: free RV3/4 context variables at the end
Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/rv34.c3
1 files changed, 3 insertions, 0 deletions
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;
}