mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
fix MI_GUARDED build
This commit is contained in:
parent
2a1c346281
commit
c478ddaab4
7 changed files with 30 additions and 11 deletions
|
@ -233,8 +233,8 @@ static void test_heap_walk(void) {
|
|||
}
|
||||
|
||||
static void test_canary_leak(void) {
|
||||
char* p = mi_mallocn_tp(char, 23);
|
||||
for (int i = 0; i < 23; i++) {
|
||||
char* p = mi_mallocn_tp(char, 22);
|
||||
for (int i = 0; i < 22; i++) {
|
||||
p[i] = '0'+i;
|
||||
}
|
||||
puts(p);
|
||||
|
|
|
@ -42,7 +42,7 @@ static int SCALE = 10;
|
|||
static int ITER = 10;
|
||||
#elif 0
|
||||
static int THREADS = 4;
|
||||
static int SCALE = 100;
|
||||
static int SCALE = 10;
|
||||
static int ITER = 10;
|
||||
#define ALLOW_LARGE false
|
||||
#elif 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue