File: ../../src/gdb/python/py-breakpoint.c
Function: gdbpy_breakpoints
Error: returning (PyObject*)NULL without setting an exception
697 PyObject *
698 gdbpy_breakpoints (PyObject *self, PyObject *args)
699 {
700   PyObject *list;
701 
702   if (bppy_live == 0)
when taking False path
703     Py_RETURN_NONE;
704 
705   list = PyList_New (0);
when PyList_New() succeeds
706   if (!list)
taking False path
707     return NULL;
708 
709   /* If iteratre_over_breakpoints returns non NULL it signals an error
710      condition.  In that case abandon building the list and return
711      NULL.  */
712   if (iterate_over_breakpoints (build_bp_list, list) != NULL)
when treating unknown struct breakpoint * from ../../src/gdb/python/py-breakpoint.c:712 as non-NULL
taking True path
713     {
714       Py_DECREF (list);
when taking True path
715       return NULL;
716     }
717 
718   return PyList_AsTuple (list);
719 }
returning (PyObject*)NULL without setting an exception



File: ../../src/gdb/python/py-breakpoint.c
Function: gdbpy_breakpoints
Error: returning (PyObject*)NULL without setting an exception
697 PyObject *
698 gdbpy_breakpoints (PyObject *self, PyObject *args)
699 {
700   PyObject *list;
701 
702   if (bppy_live == 0)
when taking False path
703     Py_RETURN_NONE;
704 
705   list = PyList_New (0);
when PyList_New() succeeds
706   if (!list)
taking False path
707     return NULL;
708 
709   /* If iteratre_over_breakpoints returns non NULL it signals an error
710      condition.  In that case abandon building the list and return
711      NULL.  */
712   if (iterate_over_breakpoints (build_bp_list, list) != NULL)
when treating unknown struct breakpoint * from ../../src/gdb/python/py-breakpoint.c:712 as non-NULL
taking True path
713     {
714       Py_DECREF (list);
when taking False path
calling tp_dealloc on PyListObject allocated at ../../src/gdb/python/py-breakpoint.c:705
715       return NULL;
716     }
717 
718   return PyList_AsTuple (list);
719 }
returning (PyObject*)NULL without setting an exception



File: ../../src/gdb/python/py-breakpoint.c
Function: gdbpy_breakpoints
Error: ob_refcnt of '*list' is 1 too high
697 PyObject *
698 gdbpy_breakpoints (PyObject *self, PyObject *args)
699 {
700   PyObject *list;
701 
702   if (bppy_live == 0)
when taking False path
703     Py_RETURN_NONE;
704 
705   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
706   if (!list)
taking False path
707     return NULL;
708 
709   /* If iteratre_over_breakpoints returns non NULL it signals an error
710      condition.  In that case abandon building the list and return
711      NULL.  */
712   if (iterate_over_breakpoints (build_bp_list, list) != NULL)
when treating unknown struct breakpoint * from ../../src/gdb/python/py-breakpoint.c:712 as NULL
taking False path
713     {
714       Py_DECREF (list);
715       return NULL;
716     }
717 
718   return PyList_AsTuple (list);
when PyList_AsTuple() succeeds
719 }
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-breakpoint.c
Function: gdbpy_breakpoints
Error: ob_refcnt of '*list' is 1 too high
697 PyObject *
698 gdbpy_breakpoints (PyObject *self, PyObject *args)
699 {
700   PyObject *list;
701 
702   if (bppy_live == 0)
when taking False path
703     Py_RETURN_NONE;
704 
705   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
706   if (!list)
taking False path
707     return NULL;
708 
709   /* If iteratre_over_breakpoints returns non NULL it signals an error
710      condition.  In that case abandon building the list and return
711      NULL.  */
712   if (iterate_over_breakpoints (build_bp_list, list) != NULL)
when treating unknown struct breakpoint * from ../../src/gdb/python/py-breakpoint.c:712 as NULL
taking False path
713     {
714       Py_DECREF (list);
715       return NULL;
716     }
717 
718   return PyList_AsTuple (list);
when PyList_AsTuple() fails
719 }
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