diff options
| author | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-25 11:04:44 +0200 |
|---|---|---|
| committer | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-25 11:04:44 +0200 |
| commit | ce80c37c751e2c59151ad5bcbb6137c560d72d64 (patch) | |
| tree | e79b2eccbca2e9e37a6a5a9e164d6884303d3177 | |
| parent | 642391eb4946e690f8c6765ed0bb37857e8eb64c (diff) | |
Fixed potential memory leak
| -rw-r--r-- | core/os/os_netbsd.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_netbsd.odin b/core/os/os_netbsd.odin index bb89a4a50..37b0ab54a 100644 --- a/core/os/os_netbsd.odin +++ b/core/os/os_netbsd.odin @@ -391,7 +391,7 @@ seek :: proc(fd: Handle, offset: i64, whence: int) -> (i64, Errno) { } file_size :: proc(fd: Handle) -> (i64, Errno) { - s, err := fstat(fd) + s, err := _fstat(fd) if err != ERROR_NONE { return -1, err } |