File: src/python/pyhbac.c
Function: set_hbac_exception
Error: ob_refcnt of new ref from call to Py_BuildValue is 1 too high
269 static void
270 set_hbac_exception(PyObject *exc, struct hbac_info *error)
271 {
272     PyErr_SetObject(exc,
when treating unknown char * from src/python/pyhbac.c:275 as non-NULL
taking True path
when Py_BuildValue() succeeds
calling PyErr_SetObject()
new ref from call to Py_BuildValue allocated at:     PyErr_SetObject(exc,
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
273                     Py_BuildValue(sss_py_const_p(char, "(i,s)"),
274                                   error->code,
275                                   error->rule_name ? \
when treating unknown struct hbac_info * from src/python/pyhbac.c:270 as non-NULL
276                                         error->rule_name : "no rule"));
277 }
returning
ob_refcnt of new ref from call to Py_BuildValue is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 1 similar trace(s) to this