diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2011-01-29 17:39:09 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-30 05:41:47 +0300 |
commit | 5255acc6beb61ef30f43bc2c746b0b487815f76d (patch) | |
tree | 7f7deb249a8faf5dd4aac929459a968f204516d1 /libavcodec/alsdec.c | |
parent | 451b4b86355216ee4b255ca86ea578864127e03a (diff) |
Fix memory leak in ALS decoder in big endian systems
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e0eb963aaa55ddcc54bf80f3261f6a436edca4a3)
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r-- | libavcodec/alsdec.c | 1 |
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; } |