mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
add output argument to stat printing
This commit is contained in:
parent
0956a05bf6
commit
783e3377f7
7 changed files with 104 additions and 102 deletions
|
@ -13,7 +13,7 @@ static void corrupt_free();
|
|||
|
||||
int main() {
|
||||
mi_version();
|
||||
|
||||
|
||||
// detect double frees and heap corruption
|
||||
// double_free1();
|
||||
// double_free2();
|
||||
|
@ -106,4 +106,4 @@ static void corrupt_free() {
|
|||
for (int i = 0; i < 4096; i++) {
|
||||
malloc(SZ);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue