diff --git a/Python/ceval.c b/Python/ceval.c index 2af78ff..1121c93 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2637,6 +2637,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) if ((x = f->f_locals) == NULL) { PyErr_SetString(PyExc_SystemError, "no locals found during 'import *'"); + Py_DECREF(v); break; } READ_TIMESTAMP(intr0);