diff options
| author | YDBot <[email protected]> | 2026-06-26 11:22:40 +0000 |
|---|---|---|
| committer | YDBot <[email protected]> | 2026-06-26 11:22:40 +0000 |
| commit | e78a9f66eeb2ec3ccd8712bea29b3e7197519df0 (patch) | |
| tree | 64d07952278d008f8b3947089c252ec5a346cab4 /contrib/tools/python3/Python/pythonrun.c | |
| parent | e5eebd69b54a5462d430c00b511a45f2f34b234a (diff) | |
| parent | ee2100f4ac5f28a7762a25c7c05750348a098df6 (diff) | |
Sync branches 260626-1120
Diffstat (limited to 'contrib/tools/python3/Python/pythonrun.c')
| -rw-r--r-- | contrib/tools/python3/Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tools/python3/Python/pythonrun.c b/contrib/tools/python3/Python/pythonrun.c index 632d2c56a67..0acb92e96ef 100644 --- a/contrib/tools/python3/Python/pythonrun.c +++ b/contrib/tools/python3/Python/pythonrun.c @@ -1150,6 +1150,7 @@ _PyErr_Display(PyObject *file, PyObject *unused, PyObject *value, PyObject *tb) if (print_exception_fn == NULL || !PyCallable_Check(print_exception_fn)) { Py_DECREF(traceback_module); + Py_XDECREF(print_exception_fn); goto fallback; } |
