aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2011-01-29 15:39:09 +0100
committerMans Rullgard <mans@mansr.com>2011-01-29 18:09:42 +0000
commite0eb963aaa55ddcc54bf80f3261f6a436edca4a3 (patch)
treef16f47bc85fd136b443a3d0813a409cc92a74ce5
parentd461a4731781e492d83ef254f9c0fbd0ce6e47eb (diff)
downloadffmpeg-e0eb963aaa55ddcc54bf80f3261f6a436edca4a3.tar.gz
Fix memory leak in ALS decoder in big endian systems
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavcodec/alsdec.c1
1 files changed, 1 insertions, 0 deletions
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;
}