summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 2f4c3d3..1ba3042 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -14795,7 +14795,7 @@ unicodeiter_reduce(unicodeiterobject *it, PyObject *Py_UNUSED(ignored))
} else {
PyObject *u = unicode_new_empty();
if (u == NULL) {
- Py_DECREF(iter);
+ Py_XDECREF(iter);
return NULL;
}
return Py_BuildValue("N(N)", iter, u);