diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2024-10-10 09:24:50 -0700 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2024-10-10 09:24:50 -0700 |
| commit | fcaa3abe4781fd88ec62856af43a8cf28ac27bd9 (patch) | |
| tree | 22b8b6096759449bb71d91462ab194c471a7a10f /core/time | |
| parent | ba6203f8d35e508d0d0777a2ccda0aabcf83b3b4 (diff) | |
delete local_str with the appropriate allocator
Diffstat (limited to 'core/time')
| -rw-r--r-- | core/time/timezone/tz_unix.odin | 2 |
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 } |