v is already checked for NULL, so just DECREF it
This commit is contained in:
parent
c5e060dee6
commit
c0328d17a5
|
@ -91,7 +91,7 @@ static PyObject *mkspent(struct spwd *p)
|
|||
#undef SETI
|
||||
|
||||
if (PyErr_Occurred()) {
|
||||
Py_XDECREF(v);
|
||||
Py_DECREF(v);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue