fixing crashes
Some checks failed
Build / build (push) Successful in 2m29s
Test / build_and_test (push) Failing after 45m9s

This commit is contained in:
2026-01-27 22:56:03 +01:00
parent f042daa896
commit 1f8415f1b2
8 changed files with 18 additions and 53 deletions

View File

@@ -30,5 +30,8 @@ pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.Descr
}
pub inline fn destroy(self: *Self, allocator: std.mem.Allocator) void {
if (self.bindings) |bindings| {
allocator.free(bindings);
}
self.vtable.destroy(self, allocator);
}