spirv: fix memory leak in SpvModule

This commit is contained in:
Robin Voetter 2023-11-21 19:43:49 +01:00
parent 28e1d82857
commit 255737ea57
No known key found for this signature in database

View File

@ -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);