fix: prevent leak in testcase
This commit is contained in:
parent
12a8e42b8b
commit
ea6b3e1af7
1 changed files with 1 additions and 1 deletions
|
|
@ -488,5 +488,5 @@ test "simple build and link test" {
|
||||||
const query_cache = try QueryCache.create(std.testing.io, std.testing.allocator, .{});
|
const query_cache = try QueryCache.create(std.testing.io, std.testing.allocator, .{});
|
||||||
defer query_cache.deinit();
|
defer query_cache.deinit();
|
||||||
const syntax = try create(zig_file_type, std.testing.allocator, query_cache);
|
const syntax = try create(zig_file_type, std.testing.allocator, query_cache);
|
||||||
_ = syntax;
|
syntax.destroy();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue