From: Neal Norwitz Date: Wed, 2 Aug 2006 06:15:10 +0000 (+0000) Subject: v is already checked for NULL, so just DECREF it X-Git-Tag: v2.5b3~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0328d17a5327af40c2789d1d5305b2017975770;p=thirdparty%2FPython%2Fcpython.git v is already checked for NULL, so just DECREF it --- diff --git a/Modules/spwdmodule.c b/Modules/spwdmodule.c index b7bf20e6d8a4..d3f309afa8fb 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; }