fix: prevent leak in testcase
This commit is contained in:
parent
507b1207b7
commit
5a32cf3ffb
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.allocator, .{});
|
||||
defer query_cache.deinit();
|
||||
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