diff options
Diffstat (limited to 'Python/context.c')
-rw-r--r-- | Python/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/context.c b/Python/context.c index 3937819..63318d1 100644 --- a/Python/context.c +++ b/Python/context.c @@ -661,6 +661,7 @@ context_run(PyContext *self, PyObject *const *args, ts, args[0], args + 1, nargs - 1, kwnames); if (_PyContext_Exit(ts, (PyObject *)self)) { + Py_XDECREF(call_result); return NULL; } |