From 1ac0b9bcdc77edf3d20ac690fa1f61e0aa69d4c2 Mon Sep 17 00:00:00 2001 From: A1029384756 Date: Mon, 3 Aug 2026 10:09:39 -0400 Subject: [PATCH] [debug/trace] sync allocator with `core:mem` --- core/debug/trace/allocator.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/debug/trace/allocator.odin b/core/debug/trace/allocator.odin index 642561bac..febbcc4e1 100644 --- a/core/debug/trace/allocator.odin +++ b/core/debug/trace/allocator.odin @@ -97,6 +97,8 @@ tracking_allocator_init :: proc( tracking_allocator_destroy :: proc(t: ^Tracking_Allocator) { delete(t.allocation_map) delete(t.bad_free_array) + t.allocation_map = {} + t.bad_free_array = {} } @(no_sanitize_address)