mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00: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())
|
delete(f.cname, file_allocator())
|
||||||
posix.free(f.cname)
|
free(f, file_allocator())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user