mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 21:42:09 +00:00
avcodec/ylc: do not leak memory at uninit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
89d4d7d759
commit
341d3ee441
@ -455,6 +455,10 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
ff_free_vlc(&s->vlc[1]);
|
||||
ff_free_vlc(&s->vlc[2]);
|
||||
ff_free_vlc(&s->vlc[3]);
|
||||
av_freep(&s->table_bits);
|
||||
s->table_bits_size = 0;
|
||||
av_freep(&s->bitstream_bits);
|
||||
s->bitstream_bits_size = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user