[Python-checkins] r46638 - python/trunk/Objects/obmalloc.c
tim.peters
python-checkins at python.org
Sun Jun 4 05:38:10 CEST 2006
Author: tim.peters
Date: Sun Jun 4 05:38:04 2006
New Revision: 46638
Modified:
python/trunk/Objects/obmalloc.c
Log:
_PyObject_DebugMalloc(): The return value should add
2*sizeof(size_t) now, not 8. This probably accounts for
current disasters on the 64-bit buildbot slaves.
Modified: python/trunk/Objects/obmalloc.c
==============================================================================
--- python/trunk/Objects/obmalloc.c (original)
+++ python/trunk/Objects/obmalloc.c Sun Jun 4 05:38:04 2006
@@ -1337,7 +1337,7 @@
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
More information about the Python-checkins
mailing list