delete local_str with the appropriate allocator

This commit is contained in:
Colin Davidson
2024-10-10 09:24:50 -07:00
committed by flysand7
parent e8b6652aba
commit 0ed3d459f7

View File

@@ -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 }