summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 0030ac7..e2b7603 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;
}