mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 23:33:15 +00:00
delete local_str with the appropriate allocator
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user