| 191 | } |
| 192 | |
| 193 | static void |
| 194 | zone_free_definite_size(malloc_zone_t *zone, void *ptr, size_t size) { |
| 195 | size_t alloc_size; |
| 196 | |
| 197 | alloc_size = ivsalloc(tsdn_fetch(), ptr); |
| 198 | if (alloc_size != 0) { |
| 199 | assert(alloc_size == size); |
| 200 | je_free(ptr); |
| 201 | return; |
| 202 | } |
| 203 | |
| 204 | free(ptr); |
| 205 | } |
| 206 | |
| 207 | static void |
| 208 | zone_destroy(malloc_zone_t *zone) { |
nothing calls this directly
no test coverage detected