mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 02:12:22 -07:00
os2: fix bad free for posix file closure
This commit is contained in:
@@ -115,7 +115,7 @@ _close :: proc(f: ^File_Impl) -> (err: Error) {
|
||||
}
|
||||
|
||||
delete(f.cname, file_allocator())
|
||||
posix.free(f.cname)
|
||||
free(f, file_allocator())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user