Fix memory leak in ALS decoder in big endian systems
authorVitor Sessak <vitor1001@gmail.com>
Sat, 29 Jan 2011 14:39:09 +0000 (15:39 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 29 Jan 2011 18:09:42 +0000 (18:09 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/alsdec.c

index 3e415c0..e5b734c 100644 (file)
@@ -1564,6 +1564,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
     av_freep(&ctx->chan_data);
     av_freep(&ctx->chan_data_buffer);
     av_freep(&ctx->reverted_channels);
+    av_freep(&ctx->crc_buffer);
 
     return 0;
 }