clarify is_zero meaing
This commit is contained in:
@@ -46,7 +46,7 @@ extern inline void* _mi_page_malloc(mi_heap_t* heap, mi_page_t* page, size_t siz
|
||||
// zero the block? note: we need to zero the full block size (issue #63)
|
||||
if mi_unlikely(zero) {
|
||||
mi_assert_internal(page->xblock_size != 0); // do not call with zero'ing for huge blocks (see _mi_malloc_generic)
|
||||
if (page->is_zero) {
|
||||
if (page->free_is_zero) {
|
||||
block->next = 0;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user