Skip to content

Commit 47c0f90

Browse files
committed
Merge branch 'dev' into dev2
2 parents f35b4f4 + d7d6c3b commit 47c0f90

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
@@ -355,8 +355,7 @@ void* _mi_os_alloc_aligned(size_t size, size_t alignment, bool commit, bool allo
355355

356356
mi_assert_internal(memid->mem.os.size >= size);
357357
mi_assert_internal(_mi_is_aligned(p,alignment));
358-
if (commit) { mi_assert_internal(memid->initially_committed); }
359-
if (memid->initially_zero) { mi_assert_internal(memid->initially_committed); }
358+
if (commit) { mi_assert_internal(memid->initially_committed); }
360359
return p;
361360
}
362361

0 commit comments

Comments
 (0)