summaryrefslogtreecommitdiff
path: root/test/main-override.cpp
diff options
context:
space:
mode:
authorDaan Leijen <daan@microsoft.com>2022-01-10 16:07:22 -0800
committerDaan Leijen <daan@microsoft.com>2022-01-10 16:07:22 -0800
commit320f95f6cdc9b73e7cbb9acf37e0948f545ecdd0 (patch)
tree48359b149ad36630d048391b32c7bb0c4810b69a /test/main-override.cpp
parent5bc9a1c95f5d058af707543b9220ed6e4156de15 (diff)
further fixes to allow statically linking mimalloc in DLL modules (issue #508)
Diffstat (limited to 'test/main-override.cpp')
-rw-r--r--test/main-override.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main-override.cpp b/test/main-override.cpp
index e1795ec..f748c75 100644
--- a/test/main-override.cpp
+++ b/test/main-override.cpp
@@ -46,7 +46,7 @@ int main() {
tsan_numa_test();
strdup_test();
- //test_mt_shutdown();
+ test_mt_shutdown();
//fail_aslr();
mi_stats_print(NULL);
return 0;
@@ -71,7 +71,7 @@ public:
static void various_tests() {
atexit(free_p);
void* p1 = malloc(78);
- void* p2 = mi_malloc_aligned(16, 24);
+ void* p2 = mi_malloc_aligned(24, 16);
free(p1);
p1 = malloc(8);
char* s = mi_strdup("hello\n");