[PATCH] Fix memory leak in ALS decoder in big endian systems

Vitor Sessak vitor1001
Sat Jan 29 15:39:09 CET 2011


---
 libavcodec/alsdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 116e5e2..c8b45b8 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;
 }
-- 
1.7.1


--------------030206020204010807050203--



More information about the ffmpeg-devel mailing list