mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-10 15:03:22 +00:00
Ensure deletion of maybe is delayed until we're finished with it.
This commit is contained in:
@@ -19,7 +19,7 @@ parse_ini :: proc(t: ^testing.T) {
|
||||
`
|
||||
|
||||
m, err := ini.load_map_from_string(ini_data, context.allocator)
|
||||
ini.delete_map(m)
|
||||
defer ini.delete_map(m)
|
||||
|
||||
testing.expectf(
|
||||
t,
|
||||
|
||||
Reference in New Issue
Block a user