Fix dynamic_pool_destroy
This commit is contained in:
1 parent
4eba2bb8d9
commit
5451c9672d
1 file changed
+1
@@ -662,6 +662,7 @@ dynamic_pool_destroy :: proc(using pool: ^Dynamic_Pool) {
|
|||||||
dynamic_pool_free_all(pool)
|
dynamic_pool_free_all(pool)
|
||||||
delete(unused_blocks)
|
delete(unused_blocks)
|
||||||
delete(used_blocks)
|
delete(used_blocks)
|
||||||
|
delete(out_band_allocations)
|
||||||
|
|
||||||
zero(pool, size_of(pool^))
|
zero(pool, size_of(pool^))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user