We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e119526 commit 7a54a65Copy full SHA for 7a54a65
1 file changed
Modules/_json.c
@@ -417,6 +417,7 @@ scanstring_unicode(PyObject *pystr, Py_ssize_t end, int strict, Py_ssize_t *next
417
if (ret == NULL) {
418
goto bail;
419
}
420
+ PyUnicodeWriter_Discard(writer);
421
*next_end_ptr = next + 1;;
422
return ret;
423
0 commit comments