Fix missing goto

This commit is contained in:
Antoine Pitrou 2011-11-08 18:37:16 +01:00
parent d10759f6ed
commit a8f63c02ef
1 changed files with 1 additions and 0 deletions

View File

@ -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));