SF #1444030: Fix several potential defects found by Coverity.

(reviewed by Neal Norwitz)
This commit is contained in:
Hye-Shik Chang 2006-03-07 15:39:21 +00:00
parent ef1701f7d3
commit 4af5c8cee4
11 changed files with 53 additions and 17 deletions

View file

@ -3276,7 +3276,7 @@ string_splitlines(PyStringObject *self, PyObject *args)
return list;
onError:
Py_DECREF(list);
Py_XDECREF(list);
return NULL;
}