diff options
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index af28cdc..92fa887 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2856,8 +2856,9 @@ find_from_args(PyFrameObject *f, int nexti) if (!name) Py_DECREF(list); else { - if (PyList_Append(list, name) < 0) + if (PyList_Append(list, name) < 0) { Py_DECREF(list); + } Py_DECREF(name); } } else { |