Ensure deletion of maybe is delayed until we're finished with it.

This commit is contained in:
Ronald
2024-07-20 17:10:34 +01:00
parent f560b14d10
commit e0a8bd04d5

View File

@@ -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,