Browse Source

Fix memory leak in ALS decoder in big endian systems

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e0eb963aaa)
tags/n0.8
Vitor Sessak Michael Niedermayer 15 years ago
parent
commit
5255acc6be
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/alsdec.c

+ 1
- 0
libavcodec/alsdec.c View File

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


Loading…
Cancel
Save