diff --git a/libtiff/tif_jbig.c b/libtiff/tif_jbig.c index 5f5f75e2..c75f31d9 100644 --- a/libtiff/tif_jbig.c +++ b/libtiff/tif_jbig.c @@ -94,6 +94,7 @@ static int JBIGDecode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) jbg_strerror(decodeStatus) #endif ); + jbg_dec_free(&decoder); return 0; }