commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 | [log] [tgz] |
---|---|---|
author | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
committer | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 | |
parent | 69cf913ba110de2eb773c030b1dd606456ac5831 [diff] [blame] |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index d9d2fdd..465aa7d 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c
@@ -642,7 +642,7 @@ #endif /* Py_TRACE_REFS */ #ifdef PYMALLOC_DEBUG if (Py_GETENV("PYTHONMALLOCSTATS")) - _PyObject_DebugMallocStats(); + _PyObject_DebugMallocStats(stderr); #endif call_ll_exitfuncs();