mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix missing goto
This commit is contained in:
parent
d10759f6ed
commit
a8f63c02ef
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue