File: ../../src/gdb/python/py-inferior.c
Function: gdbpy_inferiors
Error: returning (PyObject*)NULL without setting an exception
377 PyObject *
378 gdbpy_inferiors (PyObject *unused, PyObject *unused2)
379 {
380   int i = 0;
381   PyObject *list, *inferior;
382   struct inferior *inf;
383 
384   list = PyList_New (0);
when PyList_New() succeeds
385   if (!list)
taking False path
386     return NULL;
387 
388   if (iterate_over_inferiors (build_inferior_list, list))
when treating unknown struct inferior * from ../../src/gdb/python/py-inferior.c:388 as non-NULL
taking True path
389     {
390       Py_DECREF (list);
when taking True path
391       return NULL;
392     }
393 
394   return PyList_AsTuple (list);
395 }
returning (PyObject*)NULL without setting an exception



File: ../../src/gdb/python/py-inferior.c
Function: gdbpy_inferiors
Error: returning (PyObject*)NULL without setting an exception
377 PyObject *
378 gdbpy_inferiors (PyObject *unused, PyObject *unused2)
379 {
380   int i = 0;
381   PyObject *list, *inferior;
382   struct inferior *inf;
383 
384   list = PyList_New (0);
when PyList_New() succeeds
385   if (!list)
taking False path
386     return NULL;
387 
388   if (iterate_over_inferiors (build_inferior_list, list))
when treating unknown struct inferior * from ../../src/gdb/python/py-inferior.c:388 as non-NULL
taking True path
389     {
390       Py_DECREF (list);
when taking False path
calling tp_dealloc on PyListObject allocated at ../../src/gdb/python/py-inferior.c:384
391       return NULL;
392     }
393 
394   return PyList_AsTuple (list);
395 }
returning (PyObject*)NULL without setting an exception



File: ../../src/gdb/python/py-inferior.c
Function: gdbpy_inferiors
Error: ob_refcnt of '*list' is 1 too high
377 PyObject *
378 gdbpy_inferiors (PyObject *unused, PyObject *unused2)
379 {
380   int i = 0;
381   PyObject *list, *inferior;
382   struct inferior *inf;
383 
384   list = PyList_New (0);
when PyList_New() succeeds
PyListObject allocated at:   list = PyList_New (0);
ob_refcnt is now refs: 1 + N where N >= 0
385   if (!list)
taking False path
386     return NULL;
387 
388   if (iterate_over_inferiors (build_inferior_list, list))
when treating unknown struct inferior * from ../../src/gdb/python/py-inferior.c:388 as NULL
taking False path
389     {
390       Py_DECREF (list);
391       return NULL;
392     }
393 
394   return PyList_AsTuple (list);
when PyList_AsTuple() succeeds
395 }
ob_refcnt of '*list' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1



File: ../../src/gdb/python/py-inferior.c
Function: gdbpy_inferiors
Error: ob_refcnt of '*list' is 1 too high
377 PyObject *
378 gdbpy_inferiors (PyObject *unused, PyObject *unused2)
379 {
380   int i = 0;
381   PyObject *list, *inferior;
382   struct inferior *inf;
383 
384   list = PyList_New (0);
when PyList_New() succeeds
PyListObject allocated at:   list = PyList_New (0);
ob_refcnt is now refs: 1 + N where N >= 0
385   if (!list)
taking False path
386     return NULL;
387 
388   if (iterate_over_inferiors (build_inferior_list, list))
when treating unknown struct inferior * from ../../src/gdb/python/py-inferior.c:388 as NULL
taking False path
389     {
390       Py_DECREF (list);
391       return NULL;
392     }
393 
394   return PyList_AsTuple (list);
when PyList_AsTuple() fails
395 }
ob_refcnt of '*list' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1