test non-default heap
This commit is contained in:
parent
e68f2c1479
commit
9adb032e9c
@ -42,6 +42,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);
|
||||
@ -58,6 +61,7 @@ int main() {
|
||||
//mi_stats_print(NULL);
|
||||
|
||||
// test_process_info();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user