Skip to content

Commit 2703246

Browse files
committed
Use _Py_FREELIST_POP_MEM()
1 parent e4ab21f commit 2703246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13438,7 +13438,7 @@ PyUnicodeWriter_Create(Py_ssize_t length)
1343813438

1343913439
const size_t size = sizeof(_PyUnicodeWriter);
1344013440
PyUnicodeWriter *pub_writer;
13441-
pub_writer = _Py_FREELIST_POP(PyUnicodeWriter, unicode_writers);
13441+
pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
1344213442
if (pub_writer == NULL) {
1344313443
pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
1344413444
if (pub_writer == NULL) {

0 commit comments

Comments
 (0)