Skip to content

Commit be578e0

Browse files
authored
bpo-46347: Yet another fix in the erorr path of PyEval_EvalCodeEx (#30554)
1 parent 20b5791 commit be578e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/ceval.c

-1
Original file line numberDiff line numberDiff line change
@@ -6113,7 +6113,6 @@ PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals,
61136113
}
61146114
newargs = PyMem_Malloc(sizeof(PyObject *)*(kwcount+argcount));
61156115
if (newargs == NULL) {
6116-
Py_DECREF(kwnames);
61176116
goto fail;
61186117
}
61196118
for (int i = 0; i < argcount; i++) {

0 commit comments

Comments
 (0)