mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-31 02:20:02 +03:00
Fix curs references
This commit is contained in:
parent
6bb6f42169
commit
1e0077a2b4
|
@ -127,7 +127,7 @@ psyco_conn_cursor(connectionObject *self, PyObject *args, PyObject *kwargs)
|
|||
|
||||
Dprintf("psyco_conn_cursor: new cursor at %p: refcnt = "
|
||||
FORMAT_CODE_PY_SSIZE_T,
|
||||
obj, Py_REFCNT(obj)
|
||||
curs, Py_REFCNT(curs)
|
||||
);
|
||||
|
||||
/* pass ownership from curs to rv */
|
||||
|
|
Loading…
Reference in New Issue
Block a user