mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
minor fix due to recent directory handling API changes
This commit is contained in:
parent
d18b5f8b53
commit
98e37537d1
@ -1100,7 +1100,7 @@ pub const Walker = struct {
|
||||
}
|
||||
|
||||
pub fn deinit(self: *Walker) void {
|
||||
while (self.stack.popOrNull()) |*item| item.dir_it.close();
|
||||
while (self.stack.popOrNull()) |*item| item.dir_it.dir.close();
|
||||
self.stack.deinit();
|
||||
self.name_buffer.deinit();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user