mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +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 == "" {
|
if local_str == "" {
|
||||||
delete(local_str)
|
delete(local_str, allocator)
|
||||||
|
|
||||||
str, err := strings.clone("UTC", allocator)
|
str, err := strings.clone("UTC", allocator)
|
||||||
if err != nil { return }
|
if err != nil { return }
|
||||||
|
|||||||
Reference in New Issue
Block a user