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 e4ab21f commit 2703246Copy full SHA for 2703246
Objects/unicodeobject.c
@@ -13438,7 +13438,7 @@ PyUnicodeWriter_Create(Py_ssize_t length)
13438
13439
const size_t size = sizeof(_PyUnicodeWriter);
13440
PyUnicodeWriter *pub_writer;
13441
- pub_writer = _Py_FREELIST_POP(PyUnicodeWriter, unicode_writers);
+ pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
13442
if (pub_writer == NULL) {
13443
pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
13444
0 commit comments