1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix memory leak in ALS decoder in big endian systems

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Vitor Sessak 2011-01-29 15:39:09 +01:00 committed by Mans Rullgard
parent d461a47317
commit e0eb963aaa

View File

@ -1564,6 +1564,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
av_freep(&ctx->chan_data); av_freep(&ctx->chan_data);
av_freep(&ctx->chan_data_buffer); av_freep(&ctx->chan_data_buffer);
av_freep(&ctx->reverted_channels); av_freep(&ctx->reverted_channels);
av_freep(&ctx->crc_buffer);
return 0; return 0;
} }