mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
bpo-46347: Yet another fix in the erorr path of PyEval_EvalCodeEx (#30554)
This commit is contained in:
parent
20b5791ce9
commit
be578e0c06
1 changed files with 0 additions and 1 deletions
|
|
@ -6113,7 +6113,6 @@ PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals,
|
||||||
}
|
}
|
||||||
newargs = PyMem_Malloc(sizeof(PyObject *)*(kwcount+argcount));
|
newargs = PyMem_Malloc(sizeof(PyObject *)*(kwcount+argcount));
|
||||||
if (newargs == NULL) {
|
if (newargs == NULL) {
|
||||||
Py_DECREF(kwnames);
|
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < argcount; i++) {
|
for (int i = 0; i < argcount; i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue