Skip to content

Conversation

@radarhere
Copy link
Member

The following code will crash when trying to free a pointer.

>>> from PIL import ImageDraw
>>> o = ImageDraw.Outline()
>>> o.line(0, 0)
>>> o.transform((0, 0, 0, 0, 0, 0))

This PR fixes it.

@radarhere radarhere added Bug Any unexpected behavior, until confirmed feature. automerge Automatically merge PRs that are ready labels Dec 27, 2021
@radarhere radarhere merged commit 7adab8f into python-pillow:main Dec 27, 2021
@radarhere radarhere deleted the transform branch December 27, 2021 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge PRs that are ready Bug Any unexpected behavior, until confirmed feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant