# Dir.makeOpenPathAccessMaskW: Use path.ComponentIterator · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/63b504219d119a13731811065d18a2b10b4214b3)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 63b504219d119a13731811065d18a2b10b4214b3

Requested commit: 63b504219d119a13731811065d18a2b10b4214b3

Commit: 63b504219d119a13731811065d18a2b10b4214b3

Tree: 00eb29867b28f3369f7437aaf29de26009c1d772

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Dir.makeOpenPathAccessMaskW: Use path.ComponentIterator

See 49053cb1b4af7ee2973cf606def398c7eef6578b for details

Also, fix leaking the intermediate directory handles.

```

## Parents

- [c139b9d4ad68d1cb5e2c489891493232a11db76c](https://git.cafe/gitcafe/zig/commit/c139b9d4ad68d1cb5e2c489891493232a11db76c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/63b504219d119a13731811065d18a2b10b4214b3?format=markdown)
