mirror of https://github.com/python/cpython
gh-119431: fix refleak in test_monitoring (#119444)
This commit is contained in:
parent
e3f5a44553
commit
c85e352673
|
@ -2724,5 +2724,6 @@ _PyMonitoring_FireStopIterationEvent(PyMonitoringState *state, PyObject *codelik
|
|||
}
|
||||
PyObject *args[4] = { NULL, NULL, NULL, exc };
|
||||
int err = capi_call_instrumentation(state, codelike, offset, args, 3, event);
|
||||
Py_DECREF(exc);
|
||||
return exception_event_teardown(err, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue