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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue