16l trocadero: don't forget to free frame data buffer in APE decoder
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 19 Feb 2010 22:23:55 +0000 (22:23 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 19 Feb 2010 22:23:55 +0000 (22:23 +0000)
Originally committed as revision 21910 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/apedec.c

index c27d086..f7b6e07 100644 (file)
@@ -211,6 +211,7 @@ static av_cold int ape_decode_close(AVCodecContext * avctx)
     for (i = 0; i < APE_FILTER_LEVELS; i++)
         av_freep(&s->filterbuf[i]);
 
+    av_freep(&s->data);
     return 0;
 }