Skip to content
Merged
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Feb 13, 2024
commit 30dd86cd433532f28e9213a9624c566174857366
4 changes: 2 additions & 2 deletions Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ get_dict_state(void)


void
_PyDict_ClearFreeList(struct _Py_object_freelists *freelist_state, int is_finalization)
_PyDict_ClearFreeList(struct _Py_object_freelists *freelists, int is_finalization)
{
#ifdef WITH_FREELISTS
struct _Py_dict_freelist *state = &freelist_state->dicts;
struct _Py_dict_freelist *state = &freelists->dicts;
while (state->numfree > 0) {
PyDictObject *op = state->free_list[--state->numfree];
assert(PyDict_CheckExact(op));
Expand Down