From 0811f98e103f87b0b268948f56df55852e6fdf29 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 30 Dec 2012 22:46:04 +0100 Subject: Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats(). --- Objects/methodobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/methodobject.c b/Objects/methodobject.c index 1d143f9..60df302 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -343,8 +343,8 @@ void _PyCFunction_DebugMallocStats(FILE *out) { _PyDebugAllocatorStats(out, - "free PyCFunction", - numfree, sizeof(PyCFunction)); + "free PyCFunctionObjects", + numfree, sizeof(PyCFunctionObject)); } /* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(), -- cgit v0.12