This commit is contained in:
Caleb Gardner
2025-08-07 21:45:03 -05:00
parent 1269d3e30d
commit b50f28026f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ pub fn File(comptime T: type) type {
const inode: Inode = try .init(&meta, rdr.alloc, rdr.super.block_size);
return .init(rdr, inode, ent.name);
}
pub fn deinit(self: *Self) void {
pub fn deinit(self: Self) void {
self.rdr.alloc.free(self.name);
self.inode.deinit(self.rdr.alloc);
if (self.entries != null) {
+1 -1
View File
@@ -115,7 +115,7 @@ pub fn DataReader(comptime T: type) type {
.completion = .init(rdr.alloc),
};
}
pub fn deinit(self: *Self) void {
pub fn deinit(self: Self) void {
self.alloc.free(self.offsets);
self.completion.deinit();
}