delete local_str with the appropriate allocator

This commit is contained in:
Colin Davidson
2024-10-10 09:24:50 -07:00
parent ba6203f8d3
commit fcaa3abe47

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 }