1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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