fix overly restrictive assertion
This commit is contained in:
parent
1e636c45da
commit
d2a2508af3
@ -688,6 +688,6 @@ mi_page_t* _mi_segment_page_alloc(size_t block_size, mi_segments_tld_t* tld, mi_
|
|||||||
page = mi_segment_large_page_alloc(tld, os_tld);
|
page = mi_segment_large_page_alloc(tld, os_tld);
|
||||||
else
|
else
|
||||||
page = mi_segment_huge_page_alloc(block_size,tld,os_tld);
|
page = mi_segment_huge_page_alloc(block_size,tld,os_tld);
|
||||||
mi_assert_expensive(mi_segment_is_valid(_mi_page_segment(page)));
|
mi_assert_expensive(page == NULL || mi_segment_is_valid(_mi_page_segment(page)));
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user