| ... | @@ -1184,6 +1184,10 @@ pub fn destroy(self: *Compilation) void { | ... | @@ -1184,6 +1184,10 @@ pub fn destroy(self: *Compilation) void { |
| 1184 | } | 1184 | } |
| 1185 | self.failed_c_objects.deinit(gpa); | 1185 | self.failed_c_objects.deinit(gpa); |
| 1186 | | 1186 | |
| | 1187 | if (self.c_header) |*header| { |
| | 1188 | header.deinit(); |
| | 1189 | } |
| | 1190 | |
| 1187 | self.cache_parent.manifest_dir.close(); | 1191 | self.cache_parent.manifest_dir.close(); |
| 1188 | if (self.owned_link_dir) |*dir| dir.close(); | 1192 | if (self.owned_link_dir) |*dir| dir.close(); |
| 1189 | | 1193 | |