From c0328d17a5327af40c2789d1d5305b2017975770 Mon Sep 17 00:00:00 2001
From: Neal Norwitz <nnorwitz@gmail.com>
Date: Wed, 2 Aug 2006 06:15:10 +0000
Subject: v is already checked for NULL, so just DECREF it

---
 Modules/spwdmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/spwdmodule.c b/Modules/spwdmodule.c
index b7bf20e..d3f309a 100644
--- a/Modules/spwdmodule.c
+++ b/Modules/spwdmodule.c
@@ -91,7 +91,7 @@ static PyObject *mkspent(struct spwd *p)
 #undef SETI
 
 	if (PyErr_Occurred()) {
-		Py_XDECREF(v);
+		Py_DECREF(v);
 		return NULL;
 	}
 
-- 
cgit v0.12

