From f15795c9a0f206b9abfb48007b267d12cd14f4a8 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Wed, 14 Feb 2024 09:32:51 +0900 Subject: gh-111968: Rename freelist related struct names to Eric's suggestion (gh-115329) --- Python/gc_free_threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/gc_free_threading.c') diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c index 93e1168002b..3dc1dc19182 100644 --- a/Python/gc_free_threading.c +++ b/Python/gc_free_threading.c @@ -1721,7 +1721,7 @@ _PyGC_ClearAllFreeLists(PyInterpreterState *interp) HEAD_LOCK(&_PyRuntime); _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)interp->threads.head; while (tstate != NULL) { - _PyObject_ClearFreeLists(&tstate->freelist_state, 0); + _PyObject_ClearFreeLists(&tstate->freelists, 0); tstate = (_PyThreadStateImpl *)tstate->base.next; } HEAD_UNLOCK(&_PyRuntime); -- cgit v1.2.3