mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
function_call(): Remove a bogus (and I mean *really* bogus) call to
Py_DECREF(arg) after the PyErr_NoMemory() call. (Armin Rigo, SF bug #488477.)
This commit is contained in:
parent
1da50f6c6e
commit
be5234610a
1 changed files with 0 additions and 1 deletions
|
@ -358,7 +358,6 @@ function_call(PyObject *func, PyObject *arg, PyObject *kw)
|
|||
k = PyMem_NEW(PyObject *, 2*nk);
|
||||
if (k == NULL) {
|
||||
PyErr_NoMemory();
|
||||
Py_DECREF(arg);
|
||||
return NULL;
|
||||
}
|
||||
pos = i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue