Fix tree corruption
This commit is contained in:
parent
018cbff4b1
commit
5f55c930d8
@ -439,6 +439,7 @@ int epoll_wait(epoll_t port_handle, struct epoll_event* events, int maxevents,
|
||||
|
||||
/* Check for a closed socket. */
|
||||
if (afd_events & AFD_POLL_LOCAL_CLOSE) {
|
||||
RB_REMOVE(epoll_sock_data_tree, &port_data->sock_data_tree, sock_data);
|
||||
free(op);
|
||||
free(sock_data);
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user