Skip to content

Commit 5b8c03f

Browse files
committed
Oops, use PyMem_RawFree() instead of PyMem_Free()
1 parent 18b231f commit 5b8c03f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ _PyGC_Fini(PyInterpreterState *interp)
18761876
GCState *gcstate = &interp->gc;
18771877
Py_CLEAR(gcstate->garbage);
18781878
Py_CLEAR(gcstate->callbacks);
1879-
PyMem_Free(gcstate->generation_stats);
1879+
PyMem_RawFree(gcstate->generation_stats);
18801880
gcstate->generation_stats = NULL;
18811881

18821882
/* Prevent a subtle bug that affects sub-interpreters that use basic

0 commit comments

Comments
 (0)