diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-10-28 12:15:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-10-28 12:15:50 +0000 |
commit | a0e7079a207fc38cb3754cf11a29863c81f633e4 (patch) | |
tree | eff151f02011833fd55c3de37cf553d798ee9607 | |
parent | 73cbf86830b79e1827d009dcb8ef81604f243842 (diff) | |
download | ffmpeg-a0e7079a207fc38cb3754cf11a29863c81f633e4.tar.gz |
Fix 10l leak in ffv1.
Originally committed as revision 25595 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ffv1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index e52d6f9b9f..813e41d6e3 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -1295,6 +1295,10 @@ static av_cold int common_end(AVCodecContext *avctx){ av_freep(&s->rc_stat2[j]); } + for(i=0; i<s->slice_count; i++){ + av_freep(&s->slice_context[i]); + } + return 0; } |