Commit 98256595 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tiff: Clear deinvert_buf_size on deallocation

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9221445f
......@@ -1411,6 +1411,7 @@ 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->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