static PyObject * |
_mysql_NewException( |
PyObject *dict, |
PyObject *edict, |
char *name) |
{ |
PyObject *e; |
if (!(e = PyDict_GetItemString(edict, name))) |
return NULL; |
if (PyDict_SetItemString(dict, name, e)) return NULL; |
#ifdef PYPY_VERSION |
Py_INCREF(e); |
#endif |
return e; |
} |
when treating unknown char * from _mysql.c:2938 as non-NULL
when PyDict_GetItemString() succeeds
taking False path
return value was allocated at: if (!(e = PyDict_GetItemString(edict, name)))
when PyDict_SetItemString() succeeds
taking False path
was expecting final owned ob_refcnt of return value to be 1 due to object being referenced by: return value but final ob_refcnt is refs: 0 owned, 2 borrowed
static PyObject * |
_mysql_NewException( |
PyObject *dict, |
PyObject *edict, |
char *name) |
{ |
PyObject *e; |
if (!(e = PyDict_GetItemString(edict, name))) |
return NULL; |
if (PyDict_SetItemString(dict, name, e)) return NULL; |
#ifdef PYPY_VERSION |
Py_INCREF(e); |
#endif |
return e; |
} |
when treating unknown char * from _mysql.c:2938 as non-NULL
PyDict_GetItemString does not find string
taking True path