mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
wip: further improvement for remap
This commit is contained in:
parent
3e1c1f8e9f
commit
e4c914565d
7 changed files with 54 additions and 65 deletions
|
@ -237,6 +237,7 @@ static void test_remap(void) {
|
|||
uint8_t v = p[idx];
|
||||
if (v != i) {
|
||||
printf("error: corrupted memory in remap: i=%d, index=0x%zx, value=%u \n", i, idx,v);
|
||||
abort();
|
||||
};
|
||||
}
|
||||
mi_free(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue