Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: fix two refcounting issues in ndimage #16397

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

rgommers
Copy link
Member

Closes gh-16235
Closes gh-16236

Individual commit messages contain a few more notes.

Closes scipygh-16235

Note: also change `Py_XDECREF`s for start/end variables to `Py_DECREF`,
because it's already checked higher up that those variables are not
NULL.
Note that this is only test code, so it wasn't a real-world problem.

Closes scipygh-16236
Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I don't think they mentioned what static analyzer they used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.ndimage
Projects
None yet
2 participants