mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
fchmod: fix missing fd_release
This commit is contained in:
@@ -79,5 +79,7 @@ syscallret_t syscall_fchmod(context_t *, int fd, mode_t mode) {
|
||||
ret.errno = dochmod(file->vnode, mode);
|
||||
ret.ret = ret.errno ? -1 : 0;
|
||||
|
||||
fd_release(file);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user