summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-08 17:37:16 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-08 17:37:16 (GMT)
commita8f63c02ef929799e80c5d2146c642e0d0056704 (patch)
tree2b1b6abe630055ed2fa2f9202ae3f0a5a018a0a9
parentd10759f6edb713e945d1caf19d74ea4e12da7894 (diff)
downloadcpython-a8f63c02ef929799e80c5d2146c642e0d0056704.zip
cpython-a8f63c02ef929799e80c5d2146c642e0d0056704.tar.gz
cpython-a8f63c02ef929799e80c5d2146c642e0d0056704.tar.bz2
Fix missing goto
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3c14b6b..4ae8766 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7664,6 +7664,7 @@ PyUnicode_DecodeCharmap(const char *s,
}
}
if (PyUnicode_Resize(&v, outpos) < 0)
+ goto onError;
Py_XDECREF(errorHandler);
Py_XDECREF(exc);
assert(_PyUnicode_CheckConsistency(v, 1));