Fix dynamic_pool_destroy

This commit is contained in:
gingerBill
2022-05-15 23:48:11 +01:00
parent 4eba2bb8d9
commit 5451c9672d

View File

@@ -662,6 +662,7 @@ dynamic_pool_destroy :: proc(using pool: ^Dynamic_Pool) {
dynamic_pool_free_all(pool)
delete(unused_blocks)
delete(used_blocks)
delete(out_band_allocations)
zero(pool, size_of(pool^))
}