Skip to content

BUG: Fix ticket #1588/gh issue #398, refcount error in clip #405

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

Merged
merged 2 commits into from
Aug 31, 2012

Conversation

certik
Copy link
Contributor

@certik certik commented Aug 31, 2012

Updated PR #400 with a test and rebased against master.

Mark, can you review the test please? I checked that it segfaults before your patch and passes after your patch.

/cc @mwiebe

mwiebe and others added 2 commits August 31, 2012 15:17
This patch enforces a strict dichotomy for the variables 'indescr'
and 'newdescr', so they are either NULL, or they own a reference.
Following the consequences of this allowed the reference error
to be tracked down.
The bug was fixed by the previous patch.
@mwiebe
Copy link
Member

mwiebe commented Aug 31, 2012

Looks good to me.

@certik certik mentioned this pull request Aug 31, 2012
@travisbot
Copy link

This pull request passes (merged 1039880 into 8c75aa0).

@certik
Copy link
Contributor Author

certik commented Aug 31, 2012

Thanks Mark for the review. Merging.

certik added a commit that referenced this pull request Aug 31, 2012
BUG: Fix ticket #1588/gh issue #398, refcount error in clip
@certik certik merged commit e60c70d into numpy:master Aug 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants