# std: Close dangling fd on error · gitcafe/zig

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

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

Visibility: public

Requested revision: 26d20e39fcacda04b5f2e158dd38c293194e2f01

Requested commit: 26d20e39fcacda04b5f2e158dd38c293194e2f01

Commit: 26d20e39fcacda04b5f2e158dd38c293194e2f01

Tree: 77b6f8888b8cf89b08e800bc2d19bded06fa51e5

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Close dangling fd on error

This patch was already submitted for openFileZ, createFileZ was left
unpatched.

```

## Parents

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

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