Fix curs references

This commit is contained in:
Jon Dufresne 2020-02-11 17:17:15 -08:00
parent 6bb6f42169
commit 1e0077a2b4

View File

@ -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 */