coff: fix memory leak

This commit is contained in:
Jacob Young 2024-11-30 21:26:31 -05:00 committed by Andrew Kelley
parent 5c6b25d9bb
commit c013f45ad0

View File

@ -448,6 +448,7 @@ pub fn deinit(coff: *Coff) void {
}
coff.unresolved.deinit(gpa);
coff.need_got_table.deinit(gpa);
coff.locals_free_list.deinit(gpa);
coff.globals_free_list.deinit(gpa);
coff.strtab.deinit(gpa);