diff options
author | Yury Selivanov <yury@edgedb.com> | 2022-01-12 00:35:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 00:35:19 (GMT) |
commit | be578e0c063dad1dbb273f86d5bc77e4e6f14583 (patch) | |
tree | 1011b8411642799b5895b73bb37d08671fc2a301 /Python/ceval.c | |
parent | 20b5791ce9b47195ce51cfd5acb223b1ca59cdf0 (diff) | |
download | cpython-be578e0c063dad1dbb273f86d5bc77e4e6f14583.zip cpython-be578e0c063dad1dbb273f86d5bc77e4e6f14583.tar.gz cpython-be578e0c063dad1dbb273f86d5bc77e4e6f14583.tar.bz2 |
bpo-46347: Yet another fix in the erorr path of PyEval_EvalCodeEx (#30554)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index c512afa..8e878cb 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -6113,7 +6113,6 @@ PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals, } newargs = PyMem_Malloc(sizeof(PyObject *)*(kwcount+argcount)); if (newargs == NULL) { - Py_DECREF(kwnames); goto fail; } for (int i = 0; i < argcount; i++) { |