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

Fix a reference leak in the number converter #1078

Merged
merged 1 commit into from
Sep 10, 2017

Conversation

dean0x7d
Copy link
Member

Fixes #1075.

PyNumber_Float() and PyNumber_Long() return new references.

Fixes pybind#1075.

`PyNumber_Float()` and `PyNumber_Long()` return new references.
@wjakob
Copy link
Member

wjakob commented Sep 10, 2017

Oops, that should definitely go into the next patch release..

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.

2 participants