Commit d4fff173 authored by Walter Dörwald's avatar Walter Dörwald

Fix leaked reference to None.

parent b45b3158
......@@ -2928,6 +2928,7 @@ PyObject *PyUnicode_DecodeCharmap(const char *s,
Py_DECREF(x);
goto onError;
}
Py_DECREF(x);
continue;
}
else if (PyUnicode_Check(x)) {
......
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