mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
nicer json output
This commit is contained in:
parent
07c0ed12a9
commit
3130d55796
2 changed files with 8 additions and 10 deletions
|
@ -24,9 +24,10 @@ int main() {
|
|||
// block_overflow1();
|
||||
// block_overflow2();
|
||||
// dangling_ptr_write();
|
||||
void* (*fun_mimalloc)(size_t) = &mi_malloc;
|
||||
|
||||
void* p1 = malloc(78);
|
||||
void* p2 = malloc(24);
|
||||
void* p2 = fun_mimalloc(24);
|
||||
free(p1);
|
||||
p1 = mi_malloc(8);
|
||||
//char* s = strdup("hello\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue