diff options
-rw-r--r-- | src/ioq.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -623,6 +623,8 @@ static void ioq_reap_cqe(struct ioq_ring_state *state, struct io_uring_cqe *cqe) if (ent->result >= 0) { // TODO: io_uring_prep_getdents() bfs_polldir(args->dir); + } else { + xclose(fd); } break; |