Message ID | 20220514143534.59162-2-haoxu.linux@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | liburing changes for multishot accept | expand |
diff --git a/test/accept.c b/test/accept.c index c591e761b43b..a0f4a13f5975 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; }