Fix libtiff cleanup by radarhere · Pull Request #9002 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

Member

Alternative to #8992

I've found that since #8954 was merged, there have been intermittent errors.

Testing, I find that the minimal change to fix the problem is to restore one of the calls to TIFFCleanup, and then to set clientstate->tiff = NULL to prevent ImagingLibTiffEncodeCleanup from running afterwards.

@radarhere radarhere added the TIFF label

Jun 7, 2025

@radarhere radarhere changed the title Fixed libtiff cleanup Fix libtiff cleanup

Jun 14, 2025

@radarhere radarhere added this to the 11.3.0 milestone

Jun 19, 2025

@radarhere radarhere mentioned this pull request

Jun 21, 2025

@radarhere radarhere merged commit acd8b0c into python-pillow:main

Jun 24, 2025

56 of 57 checks passed

@radarhere radarhere deleted the tiff_cleanup branch

June 24, 2025 23:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

11.3.0

Development

Successfully merging this pull request may close these issues.

1 participant

@radarhere