diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f0727d3..0ca1f42 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -276,6 +276,11 @@ Py_Finalize(void) PyGrammar_RemoveAccelerators(&_PyParser_Grammar); +#ifdef PYMALLOC_DEBUG + if (Py_GETENV("PYTHONMALLOCSTATS")) + _PyObject_DebugMallocStats(); +#endif + call_ll_exitfuncs(); #ifdef Py_TRACE_REFS |