diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/load-tiff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c index 9e37cc6f..09f6f88b 100644 --- a/source/fitz/load-tiff.c +++ b/source/fitz/load-tiff.c @@ -460,6 +460,7 @@ fz_decode_tiff_chunk(fz_context *ctx, struct tiff *tiff, unsigned char *rp, unsi size = fz_decode_tiff_thunder(ctx, tiff, stm, wp, wlen, tiff->imagewidth); break; default: + fz_drop_stream(ctx, stm); fz_throw(ctx, FZ_ERROR_GENERIC, "unknown TIFF compression: %d", tiff->compression); } |