diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-07 15:39:21 +0000 |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-07 15:39:21 +0000 |
commit | dfc47a8b931a2e519e292278fb641e7f6b2d47e7 (patch) | |
tree | 9c9de63bbe4621760fad9853fd171fb3d364d227 /Objects/stringobject.c | |
parent | 3d14e6b4f53a9f54a49c44660e8121d0b84511ed (diff) | |
download | cpython-dfc47a8b931a2e519e292278fb641e7f6b2d47e7.tar.gz |
SF #1444030: Fix several potential defects found by Coverity.
(reviewed by Neal Norwitz)
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 0030ac7193..e2b7603b5a 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -3276,7 +3276,7 @@ string_splitlines(PyStringObject *self, PyObject *args) return list; onError: - Py_DECREF(list); + Py_XDECREF(list); return NULL; } |