mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
Merge branch 'dev' into dev-slice
This commit is contained in:
commit
e87badaa1b
2 changed files with 9 additions and 1 deletions
|
@ -45,6 +45,9 @@ int main() {
|
|||
char* s = strdup("hello\n");
|
||||
free(p2);
|
||||
|
||||
mi_heap_t* h = mi_heap_new();
|
||||
mi_heap_set_default(h);
|
||||
|
||||
p2 = malloc(16);
|
||||
p1 = realloc(p1, 32);
|
||||
free(p1);
|
||||
|
@ -61,6 +64,7 @@ int main() {
|
|||
//mi_stats_print(NULL);
|
||||
|
||||
// test_process_info();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue