Merge pull request #7195 from thePHTest/master

zero tracking_allocator.allocation_map and tracking_allocator.bad_free_array in destroy
This commit is contained in:
gingerBill
2026-08-03 12:57:32 +02:00
committed by GitHub

View File

@@ -82,6 +82,8 @@ Destroy the tracking allocator.
tracking_allocator_destroy :: proc(t: ^Tracking_Allocator) {
delete(t.allocation_map)
delete(t.bad_free_array)
t.allocation_map = {}
t.bad_free_array = {}
}
/*