summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorFedora Python maintainers <python-devel@lists.fedoraproject.org>2020-07-15 13:37:52 (GMT)
committerPetr Viktorin <pviktori@redhat.com>2020-09-29 13:59:05 (GMT)
commitb4f5b3de3f77729901d4ae35f4ea001e7ad73199 (patch)
tree1d9e5e96d156402c5168900e6e2572bdaa22c806 /Python/pythonrun.c
parenta152631688d0889ab1f857e3c4cdfa7357c7f28c (diff)
downloadcpython-b4f5b3de3f77729901d4ae35f4ea001e7ad73199.zip
cpython-b4f5b3de3f77729901d4ae35f4ea001e7ad73199.tar.gz
cpython-b4f5b3de3f77729901d4ae35f4ea001e7ad73199.tar.bz2
00147-add-debug-malloc-stats.patch
00147 # Add a sys._debugmallocstats() function Based on patch 202 from RHEL 5's python.spec, with updates from rhbz#737198 Sent upstream as http://bugs.python.org/issue14785
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index abdfb14..d9a0e98 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -562,7 +562,7 @@ Py_Finalize(void)
#endif /* Py_TRACE_REFS */
#ifdef PYMALLOC_DEBUG
if (Py_GETENV("PYTHONMALLOCSTATS"))
- _PyObject_DebugMallocStats();
+ _PyObject_DebugMallocStats(stderr);
#endif
call_ll_exitfuncs();