Ensure deletion of maybe is delayed until we're finished with it.
This commit is contained in:
1 parent
f560b14d10
commit
e0a8bd04d5
1 file changed
+1
-1
@@ -19,7 +19,7 @@ parse_ini :: proc(t: ^testing.T) {
|
|||||||
`
|
`
|
||||||
|
|
||||||
m, err := ini.load_map_from_string(ini_data, context.allocator)
|
m, err := ini.load_map_from_string(ini_data, context.allocator)
|
||||||
ini.delete_map(m)
|
defer ini.delete_map(m)
|
||||||
|
|
||||||
testing.expectf(
|
testing.expectf(
|
||||||
t,
|
t,
|
||||||
|
|||||||
Reference in new issue
Block a user