mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavc/tiff: Fix leak of yuv_line in TiffContext.
Signed-off-by: Carl Hetherington <cth@carlh.net>
This commit is contained in:
parent
73251678c8
commit
6190f873eb
@ -1550,6 +1550,8 @@ static av_cold int tiff_end(AVCodecContext *avctx)
|
||||
ff_lzw_decode_close(&s->lzw);
|
||||
av_freep(&s->deinvert_buf);
|
||||
s->deinvert_buf_size = 0;
|
||||
av_freep(&s->yuv_line);
|
||||
s->yuv_line_size = 0;
|
||||
av_freep(&s->fax_buffer);
|
||||
s->fax_buffer_size = 0;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user