File: | wspy_register.c |
Function: | register_all_py_handoffs_foreach |
Error: | ob_refcnt of new ref from call to PyObject_CallMethod is 1 too high |
229 static void register_all_py_handoffs_foreach(gpointer key _U_, gpointer value, gpointer user_data _U_)
230 {
231 PyObject * py_dissector = (PyObject *)value;
232
233 PyObject_CallMethod(py_dissector, "register_handoff", NULL);
234 }
when PyObject_CallMethod() succeeds
new ref from call to PyObject_CallMethod allocated at: PyObject_CallMethod(py_dissector, "register_handoff", NULL);
ob_refcnt is now refs: 1 + N where N >= 0
235