fixing leaks
Build / build (push) Successful in 1m15s
Test / build_and_test (push) Has been cancelled

This commit is contained in:
2026-05-06 12:55:41 +02:00
parent 4f0ada9034
commit 29cdf44233
6 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -86,8 +86,8 @@ pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const v
pub fn destroy(interface: *Interface, allocator: std.mem.Allocator) void {
const self: *Self = @alignCast(@fieldParentPtr("interface", interface));
allocator.destroy(self);
_ = self.command_allocator.reset(.free_all);
allocator.destroy(self);
}
pub fn execute(self: *Self, device: *ExecutionDevice) void {