From: Vitor Sessak Date: Sat, 29 Jan 2011 14:39:09 +0000 (+0100) Subject: Fix memory leak in ALS decoder in big endian systems X-Git-Tag: v0.7b1~749 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0eb963aaa55ddcc54bf80f3261f6a436edca4a3;p=platform%2Fupstream%2Flibav.git Fix memory leak in ALS decoder in big endian systems Signed-off-by: Mans Rullgard --- diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 3e415c0..e5b734c 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; }