361 static PyObject *_mysql_thread_safe(
362 PyObject *self,
363 PyObject *args) {
364 PyObject *flag;
365 if (!PyArg_ParseTuple(args, "")) return NULL;
366 check_server_init(NULL);
when PyArg_ParseTuple() succeeds
taking False path
367 if (!(flag=PyInt_FromLong((long)mysql_thread_safe()))) return NULL;
when considering value == (int)0 from _mysql.c:121
taking True path
when considering range: -0x80000000 <= value <= -1
taking True path
when _mysql_Exception() succeeds
memory leak: ob_refcnt of new ref from (unknown) _mysql_Exception is 1 too high
new ref from (unknown) _mysql_Exception was allocated at: check_server_init(NULL);
was expecting final owned ob_refcnt of new ref from (unknown) _mysql_Exception to be 0 since nothing references it but final ob_refcnt is refs: 1 owned
found 1 similar trace(s) to this
ob_refcnt is now refs: 1 owned
368 return flag;
369 }
370