Commit 2aa15535 authored by Victor Stinner's avatar Victor Stinner

Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and

PyTuple_New() failure
parent 06587a0a
......@@ -2144,6 +2144,8 @@ PyObject_CallFunction(PyObject *callable, const char *format, ...)
}
else
args = PyTuple_New(0);
if (args == NULL)
return NULL;
return call_function_tail(callable, args);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment