916 static PyObject * virtkey_new(PyObject * self, PyObject * args)
917 {
918 PyObject *result = NULL;
919 result = virtkey_NEW();
920
when virtkey_NEW() succeeds
new ref from (unknown) virtkey_NEW allocated at: result = virtkey_NEW();
ob_refcnt is now refs: 1 + N where N >= 0
921 //If no error
922 if (result != NULL)
923 Py_INCREF(result);
taking True path
924 return result;
ob_refcnt is now refs: 2 + N where N >= 0
925 }
returning
ob_refcnt of return value is 1 too high
was expecting final ob_refcnt to be N + 1 (for some unknown N)
due to object being referenced by: return value
but final ob_refcnt is N + 2
926