Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <lists@carlh.net>2018-12-11 02:52:16 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-12-11 02:57:01 +0300
commit6190f873eb6d1f2000d64f04e685575e687b61f1 (patch)
tree326f07d037792b194111f367da71d5e4805b0fb0 /libavcodec/tiff.c
parent73251678c83cbe24d08264da693411b166239bc7 (diff)
lavc/tiff: Fix leak of yuv_line in TiffContext.
Signed-off-by: Carl Hetherington <cth@carlh.net>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 751f23ef33..f71885d156 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -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;