diff options
Diffstat (limited to 'test/accept.c')
-rw-r--r-- | test/accept.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/accept.c b/test/accept.c index c591e76..a0f4a13 100644 --- a/test/accept.c +++ b/test/accept.c @@ -425,9 +425,11 @@ static int test_accept_cancel(unsigned usecs, unsigned int nr) } io_uring_queue_exit(&m_io_uring); + close(fd); return 0; err: io_uring_queue_exit(&m_io_uring); + close(fd); return 1; } |