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:
Guido van Rossum 2001-12-03 19:22:38 +00:00
parent 1da50f6c6e
commit be5234610a

View file

@ -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;