Commit 6190f873 authored by Carl Hetherington's avatar Carl Hetherington Committed by Carl Eugen Hoyos

lavc/tiff: Fix leak of yuv_line in TiffContext.

Signed-off-by: 's avatarCarl Hetherington <cth@carlh.net>
parent 73251678
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment