[Python-checkins] r51037 - python/trunk/Modules/spwdmodule.c

neal.norwitz python-checkins at python.org
Wed Aug 2 08:15:10 CEST 2006


Author: neal.norwitz
Date: Wed Aug  2 08:15:10 2006
New Revision: 51037

Modified:
   python/trunk/Modules/spwdmodule.c
Log:
v is already checked for NULL, so just DECREF it

Modified: python/trunk/Modules/spwdmodule.c
==============================================================================
--- python/trunk/Modules/spwdmodule.c	(original)
+++ python/trunk/Modules/spwdmodule.c	Wed Aug  2 08:15:10 2006
@@ -91,7 +91,7 @@
 #undef SETI
 
 	if (PyErr_Occurred()) {
-		Py_XDECREF(v);
+		Py_DECREF(v);
 		return NULL;
 	}
 


More information about the Python-checkins mailing list