mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-12 08:45:22 +00:00
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user