mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 13:18:22 +00:00
poll: fix memory leak
This commit is contained in:
@@ -68,6 +68,7 @@ syscallret_t syscall_poll(context_t *, pollfd_t *fds, size_t nfds, int timeoutms
|
||||
memcpy(fds, fdsbuff, fdsbuffsize);
|
||||
|
||||
poll_leave(&desc);
|
||||
poll_destroydesc(&desc);
|
||||
|
||||
ret.ret = eventcount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user