mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-05 13:48:33 +00:00
Previously, a wide slab could be freed during this phase which could trigger the superpage itself to be freed, resulting in iteration across potentially invalid memory if the superpage was returned to the host and not placed in the orphanage. `heap_free_wide_slab` has had its responsibilities reduced to just freeing the wide slab, and `heap_free_superpage_if_empty_and_unused` has been added to better clarify what is happening where.