| 220 | page->is_zero = false; |
| 221 | } |
| 222 | else if (force) { |
| 223 | // append -- only on shutdown (force) as this is a linear operation |
| 224 | mi_block_t* tail = page->local_free; |
| 225 | mi_block_t* next; |
| 226 | while ((next = mi_block_next(page, tail)) != NULL) { |
| 227 | tail = next; |
| 228 | } |
| 229 | mi_block_set_next(page, tail, page->free); |
| 230 | page->free = page->local_free; |
| 231 | page->local_free = NULL; |
| 232 | page->is_zero = false; |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | mi_assert_internal(!force || page->local_free == NULL); |
nothing calls this directly
no test coverage detected