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

Wrong refcount after PyTuple_SET_ITEM? #160

Open
dvarrazzo opened this issue Dec 31, 2018 · 0 comments
Open

Wrong refcount after PyTuple_SET_ITEM? #160

dvarrazzo opened this issue Dec 31, 2018 · 0 comments

Comments

@dvarrazzo
Copy link
Contributor

Checking the function https://github.com/psycopg/psycopg2/blob/b796ca0c0a03b75bf7c9212455683c1e3d520466/psycopg/cursor_type.c#L681-L726 the refcount checker reports a refcount error like the following:

image

PyTuple_SET_ITEM should have stolen a reference but it seems it didn't.

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

No branches or pull requests

1 participant