_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.
This commit is contained in:
Tim Peters 2006-06-04 03:38:04 +00:00
parent 9ea89d2a19
commit 3eeb17346c
1 changed files with 1 additions and 1 deletions

View File

@ -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