Skip to content

Commit d7d6c3b

Browse files
committed
fix assertion
1 parent 57830a4 commit d7d6c3b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/os.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,7 @@ void* _mi_os_alloc_aligned(size_t size, size_t alignment, bool commit, bool allo
370370

371371
mi_assert_internal(memid->mem.os.size >= size);
372372
mi_assert_internal(_mi_is_aligned(p,alignment));
373-
if (commit) { mi_assert_internal(memid->initially_committed); }
374-
if (memid->initially_zero) { mi_assert_internal(memid->initially_committed); }
373+
if (commit) { mi_assert_internal(memid->initially_committed); }
375374
return p;
376375
}
377376

0 commit comments

Comments
 (0)