aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 7e4c07bb657..5e5db984811 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -1795,8 +1795,8 @@ finalize_interp_types(PyInterpreterState *interp)
#ifndef Py_GIL_DISABLED
// With Py_GIL_DISABLED:
// the freelists for the current thread state have already been cleared.
- _PyFreeListState *state = _PyFreeListState_GET();
- _PyObject_ClearFreeLists(state, 1);
+ struct _Py_object_freelists *freelists = _Py_object_freelists_GET();
+ _PyObject_ClearFreeLists(freelists, 1);
#endif
#ifdef Py_DEBUG