From e0eb963aaa55ddcc54bf80f3261f6a436edca4a3 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 29 Jan 2011 15:39:09 +0100 Subject: [PATCH] Fix memory leak in ALS decoder in big endian systems Signed-off-by: Mans Rullgard --- libavcodec/alsdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 3e415c0855..e5b734cedf 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -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; }