| ... | ... | @@ -1173,6 +1173,7 @@ pub fn destroy(self: *Compilation) void { |
| 1173 | 1173 | |
| 1174 | 1174 | const gpa = self.gpa; |
| 1175 | 1175 | self.work_queue.deinit(); |
| 1176 | self.c_object_work_queue.deinit(); |
| 1176 | 1177 | |
| 1177 | 1178 | { |
| 1178 | 1179 | var it = self.crt_files.iterator(); |
| ... | ... | @@ -1202,6 +1203,10 @@ pub fn destroy(self: *Compilation) void { |
| 1202 | 1203 | crt_file.deinit(gpa); |
| 1203 | 1204 | } |
| 1204 | 1205 | |
| 1206 | if (self.glibc_so_files) |*glibc_file| { |
| 1207 | glibc_file.deinit(gpa); |
| 1208 | } |
| 1209 | |
| 1205 | 1210 | for (self.c_object_table.items()) |entry| { |
| 1206 | 1211 | entry.key.destroy(gpa); |
| 1207 | 1212 | } |