OSDN Git Service

VP8: add missing free
authorJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 26 Jul 2010 07:10:30 +0000 (07:10 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 26 Jul 2010 07:10:30 +0000 (07:10 +0000)
Fixes a tiny memory leak.

Originally committed as revision 24504 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp8.c

index 2d1b502..1136f38 100644 (file)
@@ -210,6 +210,7 @@ static void vp8_decode_flush(AVCodecContext *avctx)
     memset(s->framep, 0, sizeof(s->framep));
 
     av_freep(&s->macroblocks_base);
+    av_freep(&s->filter_strength);
     av_freep(&s->intra4x4_pred_mode_base);
     av_freep(&s->top_nnz);
     av_freep(&s->edge_emu_buffer);