summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index a3e9bbf..0ca8f2b 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1337,7 +1337,7 @@ _PyObject_DebugMalloc(size_t nbytes)
memset(tail, FORBIDDENBYTE, SST);
write_size_t(tail + SST, serialno);
- return p+8;
+ return p + 2*SST;
}
/* The debug free first checks the 2*SST bytes on each end for sanity (in