various fixes for test pipeline

This commit is contained in:
Daan 2024-12-09 15:39:15 -08:00
parent 351cb0c740
commit 8f5449d271
4 changed files with 7 additions and 8 deletions

View file

@ -756,7 +756,7 @@ static inline mi_page_t* mi_find_free_page(mi_heap_t* heap, size_t size) {
if (page != NULL) {
#if (MI_SECURE>=3) // in secure mode, we extend half the time to increase randomness
if (page->capacity < page->reserved && ((_mi_heap_random_next(heap) & 1) == 1)) {
mi_page_extend_free(heap, page, heap->tld);
mi_page_extend_free(heap, page);
mi_assert_internal(mi_page_immediate_available(page));
}
else