[SCM] libav/experimental: Fix memory leak in ALS decoder in big endian systems

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:22:57 UTC 2013


The following commit has been merged in the experimental branch:
commit e0eb963aaa55ddcc54bf80f3261f6a436edca4a3
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Sat Jan 29 15:39:09 2011 +0100

    Fix memory leak in ALS decoder in big endian systems
    
    Signed-off-by: Mans Rullgard <mans at mansr.com>

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;
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list