aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-02-14 09:32:51 +0900
committerGitHub <noreply@github.com>2024-02-14 00:32:51 +0000
commitf15795c9a0f206b9abfb48007b267d12cd14f4a8 (patch)
tree1bd6b124e2ab983a921afb1c8ef02995ab39fb8b /Python/gc_free_threading.c
parent518af37eb569f52a3daf2cf9f4787deed10754ca (diff)
downloadcpython-f15795c9a0f206b9abfb48007b267d12cd14f4a8.tar.gz
cpython-f15795c9a0f206b9abfb48007b267d12cd14f4a8.zip
gh-111968: Rename freelist related struct names to Eric's suggestion (gh-115329)
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r--Python/gc_free_threading.c2
1 files changed, 1 insertions, 1 deletions
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);