You need to log in before you can comment on or make changes to this bug.
If one of the user procedures is null, the function exits with an error by goto bad2; But this branch does not free the already allocated TIFF structure. Trivial fix: goto bad;
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets, such as this one, have been migrated to the libtiff GitLab instance at https://gitlab.com/libtiff/libtiff/issues . The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is the initial Bugzilla issue number.