fix: prevent leak in testcase

This commit is contained in:
CJ van den Berg 2026-04-09 18:41:20 +02:00
parent 507b1207b7
commit 5a32cf3ffb
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -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();
}