When running with --skip-safemalloc, still do some basic, but cheap, overrun checks.
This greatly helps with eg. slow hosts in Buildbot.
This commit is contained in:
parent
79181a1c69
commit
51186f1d3d
@ -272,6 +272,9 @@ void _myfree(void *ptr, const char *filename, uint lineno, myf myflags)
|
|||||||
irem= (struct st_irem *) ((char*) ptr- ALIGN_SIZE(sizeof(struct st_irem))-
|
irem= (struct st_irem *) ((char*) ptr- ALIGN_SIZE(sizeof(struct st_irem))-
|
||||||
sf_malloc_prehunc);
|
sf_malloc_prehunc);
|
||||||
|
|
||||||
|
if (sf_malloc_quick)
|
||||||
|
(void) _checkchunk(irem, filename, lineno);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Check to make sure that we have a real remember structure.
|
Check to make sure that we have a real remember structure.
|
||||||
Note: this test could fail for four reasons:
|
Note: this test could fail for four reasons:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user