diff options
Diffstat (limited to 'gdb/python/py-stopevent.c')
-rw-r--r-- | gdb/python/py-stopevent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-stopevent.c b/gdb/python/py-stopevent.c index 7e00948..d351915 100644 --- a/gdb/python/py-stopevent.c +++ b/gdb/python/py-stopevent.c @@ -81,6 +81,7 @@ emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal) stop_event_obj = create_breakpoint_event_object (list, first_bp); if (!stop_event_obj) goto fail; + Py_DECREF (list); } /* Check if the signal is "Signal 0" or "Trace/breakpoint trap". */ |