mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 02:15:12 +00:00
Compilation: fix leak
This commit is contained in:
parent
c2316c5228
commit
c79d3e4aab
@ -1877,6 +1877,7 @@ pub fn destroy(comp: *Compilation) void {
|
||||
if (comp.module) |zcu| zcu.deinit();
|
||||
comp.cache_use.deinit();
|
||||
comp.work_queue.deinit();
|
||||
if (!InternPool.single_threaded) comp.codegen_work.queue.deinit();
|
||||
comp.c_object_work_queue.deinit();
|
||||
if (!build_options.only_core_functionality) {
|
||||
comp.win32_resource_work_queue.deinit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user