From a8f63c02ef929799e80c5d2146c642e0d0056704 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 8 Nov 2011 18:37:16 +0100 Subject: [PATCH] Fix missing goto --- Objects/unicodeobject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3c14b6ba50f..4ae8766eaa4 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));