From 0ed3d459f79e1a4a10bcf2f002944fecc24d0106 Mon Sep 17 00:00:00 2001 From: Colin Davidson Date: Thu, 10 Oct 2024 09:24:50 -0700 Subject: [PATCH] delete local_str with the appropriate allocator --- core/time/timezone/tz_unix.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/time/timezone/tz_unix.odin b/core/time/timezone/tz_unix.odin index b3ab0d4cc..6de3eba2e 100644 --- a/core/time/timezone/tz_unix.odin +++ b/core/time/timezone/tz_unix.odin @@ -52,7 +52,7 @@ local_tz_name :: proc(allocator := context.allocator) -> (name: string, success: } if local_str == "" { - delete(local_str) + delete(local_str, allocator) str, err := strings.clone("UTC", allocator) if err != nil { return }