mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-01-15 01:29:11 +08:00
typo in stress test
This commit is contained in:
parent
e4c8f42bb6
commit
768872e4e0
@ -138,7 +138,7 @@ static bool visit_blocks(const mi_heap_t* heap, const mi_heap_area_t* area, void
|
|||||||
(void)(heap); (void)(area);
|
(void)(heap); (void)(area);
|
||||||
size_t* total = (size_t*)arg;
|
size_t* total = (size_t*)arg;
|
||||||
if (block != NULL) {
|
if (block != NULL) {
|
||||||
total += block_size;
|
*total += block_size;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user