[Python-checkins] CVS: python/dist/src/Objects funcobject.c,2.47,2.48

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 03 Dec 2001 11:22:40 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv14335

Modified Files:
	funcobject.c 
Log Message:
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.)


Index: funcobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/funcobject.c,v
retrieving revision 2.47
retrieving revision 2.48
diff -C2 -d -r2.47 -r2.48
*** funcobject.c	2001/10/26 17:56:51	2.47
--- funcobject.c	2001/12/03 19:22:38	2.48
***************
*** 359,363 ****
  		if (k == NULL) {
  			PyErr_NoMemory();
- 			Py_DECREF(arg);
  			return NULL;
  		}
--- 359,362 ----