diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-02 06:15:10 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-02 06:15:10 (GMT) |
commit | c0328d17a5327af40c2789d1d5305b2017975770 (patch) | |
tree | 04cc3caa048aa5624c925c62461af97fd42f7d8f /Modules | |
parent | c5e060dee65a03ca2401487315d6c45dead09fe1 (diff) | |
download | cpython-c0328d17a5327af40c2789d1d5305b2017975770.zip cpython-c0328d17a5327af40c2789d1d5305b2017975770.tar.gz cpython-c0328d17a5327af40c2789d1d5305b2017975770.tar.bz2 |
v is already checked for NULL, so just DECREF it
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/spwdmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |