aboutsummaryrefslogtreecommitdiff
path: root/core/time
diff options
context:
space:
mode:
authorColin Davidson <colrdavidson@gmail.com>2024-10-10 09:24:50 -0700
committerColin Davidson <colrdavidson@gmail.com>2024-10-10 09:24:50 -0700
commitfcaa3abe4781fd88ec62856af43a8cf28ac27bd9 (patch)
tree22b8b6096759449bb71d91462ab194c471a7a10f /core/time
parentba6203f8d35e508d0d0777a2ccda0aabcf83b3b4 (diff)
delete local_str with the appropriate allocator
Diffstat (limited to 'core/time')
-rw-r--r--core/time/timezone/tz_unix.odin2
1 files changed, 1 insertions, 1 deletions
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 }