diff --git a/src/codegen/spirv/Module.zig b/src/codegen/spirv/Module.zig index 4ecbc8d7a0560f82ca9be54abfe2db5993cdee22..056792ab9ad020bdbbc6e5201f38f94750dfa7a9 100644 --- a/src/codegen/spirv/Module.zig +++ b/src/codegen/spirv/Module.zig @@ -184,6 +184,7 @@ pub fn deinit(self: *Module) void { self.sections.debug_strings.deinit(self.gpa); self.sections.debug_names.deinit(self.gpa); self.sections.annotations.deinit(self.gpa); + self.sections.types_globals_constants.deinit(self.gpa); self.sections.functions.deinit(self.gpa); self.source_file_names.deinit(self.gpa);