Skip to content

std: fix windows resource leaks #15450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2023
Merged

std: fix windows resource leaks #15450

merged 1 commit into from
Apr 24, 2023

Conversation

jacobly0
Copy link
Member

Possibly related to #14948

@andrewrk andrewrk merged commit d8bdfd8 into ziglang:master Apr 24, 2023
@jacobly0 jacobly0 deleted the win-leaks branch April 25, 2023 02:33
xEgoist added a commit to xEgoist/zig that referenced this pull request Apr 25, 2023
addition to ziglang#15450
createFileW does not account for failure on `LockFile`. This can result
in a file handle not being closed on failure Which can be seen on test
such as `fs.'open file with exclusive nonblocking lock twice'`.
xEgoist added a commit to xEgoist/zig that referenced this pull request Apr 25, 2023
addition to ziglang#15450
createFileW does not account for failure on `LockFile`. This can result
in a file handle not being closed on failure which can be seen on test
such as `fs.test.'open file with exclusive nonblocking lock twice'`.
andrewrk pushed a commit that referenced this pull request Apr 25, 2023
addition to #15450
createFileW does not account for failure on `LockFile`. This can result
in a file handle not being closed on failure which can be seen on test
such as `fs.test.'open file with exclusive nonblocking lock twice'`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants