Fix 10l leak in ffv1.

Originally committed as revision 25595 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-10-28 12:15:50 +00:00
parent 73cbf86830
commit a0e7079a20
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}