Commit a8f63c02 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix missing goto

parent d10759f6
...@@ -7664,6 +7664,7 @@ PyUnicode_DecodeCharmap(const char *s, ...@@ -7664,6 +7664,7 @@ PyUnicode_DecodeCharmap(const char *s,
} }
} }
if (PyUnicode_Resize(&v, outpos) < 0) if (PyUnicode_Resize(&v, outpos) < 0)
goto onError;
Py_XDECREF(errorHandler); Py_XDECREF(errorHandler);
Py_XDECREF(exc); Py_XDECREF(exc);
assert(_PyUnicode_CheckConsistency(v, 1)); assert(_PyUnicode_CheckConsistency(v, 1));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment