diff options
| author | Ronald <ronald1985@tutamail.com> | 2024-07-20 17:10:34 +0100 |
|---|---|---|
| committer | Ronald <ronald1985@tutamail.com> | 2024-07-20 17:10:34 +0100 |
| commit | e0a8bd04d5cbccb003bd80486089f0ea11a1857e (patch) | |
| tree | 8b7bf55c74c556f46c60ef77f585e53e0936080a /tests/core/encoding | |
| parent | f560b14d105b25e30c08fed76f8e5324d378ee90 (diff) | |
Ensure deletion of maybe is delayed until we're finished with it.
Diffstat (limited to 'tests/core/encoding')
| -rw-r--r-- | tests/core/encoding/ini/test_core_ini.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/encoding/ini/test_core_ini.odin b/tests/core/encoding/ini/test_core_ini.odin index 9106f61bd..6e6c8152e 100644 --- a/tests/core/encoding/ini/test_core_ini.odin +++ b/tests/core/encoding/ini/test_core_ini.odin @@ -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, |