Commit 3eeb1734 authored by Tim Peters's avatar Tim Peters

_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.
parent 9ea89d2a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment