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

Fixed call to Py_DECREF on possible Null object #751

Merged
merged 1 commit into from Feb 3, 2016
Merged

Fixed call to Py_DECREF on possible Null object #751

merged 1 commit into from Feb 3, 2016

Conversation

tijko
Copy link
Contributor

@tijko tijko commented Feb 2, 2016

If py_retlist is null from a call to PyList_New failing, the resulting goto error calls Py_DECREF on the null py_retlist object.

giampaolo added a commit that referenced this pull request Feb 3, 2016
Fixed call to Py_DECREF on possible Null object
@giampaolo giampaolo merged commit 853303b into giampaolo:master Feb 3, 2016
@giampaolo giampaolo added the bug label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants