summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 7100336..013fe4a 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2928,6 +2928,7 @@ PyObject *PyUnicode_DecodeCharmap(const char *s,
Py_DECREF(x);
goto onError;
}
+ Py_DECREF(x);
continue;
}
else if (PyUnicode_Check(x)) {