Commit be523461 authored by Guido van Rossum's avatar Guido van Rossum

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.)
parent 1da50f6c
......@@ -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;
......
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