File: _mysql.c
Function: _mysql_get_client_info
Error: memory leak: ob_refcnt of new ref from (unknown) _mysql_Exception is 1 too high
1734 static PyObject *
1735 _mysql_get_client_info(
1736 	PyObject *self,
1737 	PyObject *args)
1738 {
1739 	if (!PyArg_ParseTuple(args, "")) return NULL;
when PyArg_ParseTuple() succeeds
taking False path
1740 	check_server_init(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
1741 	return PyUnicode_FromString(mysql_get_client_info());
1742 }

File: _mysql.c
Function: _mysql_get_client_info
Error: returning (PyObject*)NULL without setting an exception
1734 static PyObject *
1735 _mysql_get_client_info(
1736 	PyObject *self,
1737 	PyObject *args)
1738 {
1739 	if (!PyArg_ParseTuple(args, "")) return NULL;
when PyArg_ParseTuple() succeeds
taking False path
1740 	check_server_init(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
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this
1741 	return PyUnicode_FromString(mysql_get_client_info());
1742 }