commit | be5234610af367f00c23c01e44ea165fbfc64b98 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 03 19:22:38 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 03 19:22:38 2001 +0000 |
tree | 7ae75860c35ed46cac73a905d53a5d693df84abc | |
parent | 1da50f6c6ead4629df8b4c359f92547447b67324 [diff] |
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.)
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index d978c3f..ee016df 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c
@@ -358,7 +358,6 @@ k = PyMem_NEW(PyObject *, 2*nk); if (k == NULL) { PyErr_NoMemory(); - Py_DECREF(arg); return NULL; } pos = i = 0;