add MIMALLOC_OVERRIDE setting to disable redirection at runtime
This commit is contained in:
parent
095a87be2e
commit
d1f708af59
Binary file not shown.
@ -30,12 +30,12 @@ int main() {
|
||||
free(p1);
|
||||
p1 = malloc(8);
|
||||
char* s = mi_strdup("hello\n");
|
||||
free(p2);
|
||||
mi_free(p2);
|
||||
p2 = malloc(16);
|
||||
p1 = realloc(p1, 32);
|
||||
free(p1);
|
||||
free(p2);
|
||||
free(s);
|
||||
mi_free(s);
|
||||
Test* t = new Test(42);
|
||||
delete t;
|
||||
t = new (std::nothrow) Test(42);
|
||||
|
Loading…
Reference in New Issue
Block a user