mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Fix leaked reference to None.
This commit is contained in:
parent
b45b315855
commit
d4fff1731c
1 changed files with 1 additions and 0 deletions
|
@ -2928,6 +2928,7 @@ PyObject *PyUnicode_DecodeCharmap(const char *s,
|
|||
Py_DECREF(x);
|
||||
goto onError;
|
||||
}
|
||||
Py_DECREF(x);
|
||||
continue;
|
||||
}
|
||||
else if (PyUnicode_Check(x)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue