aboutsummaryrefslogtreecommitdiff
path: root/tests/core/runtime
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2025-02-12 19:13:16 +0100
committerLaytan Laats <laytanlaats@hotmail.com>2025-02-12 19:13:16 +0100
commitae0f69fbe28b3ee6764da999cccea9b14ac80e36 (patch)
treea340013e05e5afebe38079f73bfeee400ad15eb9 /tests/core/runtime
parent7df5be2131b25d638a3aed31054a58a63be66e11 (diff)
cleanup test arenas
Diffstat (limited to 'tests/core/runtime')
-rw-r--r--tests/core/runtime/test_core_runtime.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core/runtime/test_core_runtime.odin b/tests/core/runtime/test_core_runtime.odin
index 0d02ae2d8..472a5527d 100644
--- a/tests/core/runtime/test_core_runtime.odin
+++ b/tests/core/runtime/test_core_runtime.odin
@@ -35,6 +35,7 @@ test_temp_allocator_big_alloc_and_alignment :: proc(t: ^testing.T) {
test_align_bumping_block_limit :: proc(t: ^testing.T) {
a: runtime.Arena
a.minimum_block_size = 8*mem.Megabyte
+ defer runtime.arena_destroy(&a)
data, err := runtime.arena_alloc(&a, 4193371, 1)
testing.expect_value(t, err, nil)