We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c195a04 commit 0036565Copy full SHA for 0036565
1 file changed
Python/gc.c
@@ -1876,6 +1876,8 @@ _PyGC_Fini(PyInterpreterState *interp)
1876
GCState *gcstate = &interp->gc;
1877
Py_CLEAR(gcstate->garbage);
1878
Py_CLEAR(gcstate->callbacks);
1879
+ PyMem_RawFree(gcstate->generation_stats);
1880
+ gcstate->generation_stats = NULL;
1881
1882
/* Prevent a subtle bug that affects sub-interpreters that use basic
1883
* single-phase init extensions (m_size == -1). Those extensions cause objects
0 commit comments