STUFF
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ pub fn File(comptime T: type) type {
|
|||||||
const inode: Inode = try .init(&meta, rdr.alloc, rdr.super.block_size);
|
const inode: Inode = try .init(&meta, rdr.alloc, rdr.super.block_size);
|
||||||
return .init(rdr, inode, ent.name);
|
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.rdr.alloc.free(self.name);
|
||||||
self.inode.deinit(self.rdr.alloc);
|
self.inode.deinit(self.rdr.alloc);
|
||||||
if (self.entries != null) {
|
if (self.entries != null) {
|
||||||
|
|||||||
+1
-1
@@ -115,7 +115,7 @@ pub fn DataReader(comptime T: type) type {
|
|||||||
.completion = .init(rdr.alloc),
|
.completion = .init(rdr.alloc),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
pub fn deinit(self: *Self) void {
|
pub fn deinit(self: Self) void {
|
||||||
self.alloc.free(self.offsets);
|
self.alloc.free(self.offsets);
|
||||||
self.completion.deinit();
|
self.completion.deinit();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user