Fix slab iteration bug in heap_cache_register_superpage

Increment of `i` is handled near the start of this loop.
This commit is contained in:
Feoramund
2025-03-24 01:23:07 -04:00
parent ee3d859c6b
commit 8638bd3b89

View File

@@ -524,7 +524,6 @@ heap_cache_register_superpage :: proc "contextless" (superpage: ^Heap_Superpage)
heap_cache_add_slab(slab, heap_bin_size_to_rank(slab.bin_size))
}
i += 1
heap_debug_cover(.Superpage_Registered_With_Slab_In_Use)
}
}