Close pipe fds when we exit test_single_link_timeout(). Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> --- test/link-timeout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/link-timeout.c b/test/link-timeout.c index a517c5e..5d8417f 100644 --- a/test/link-timeout.c +++ b/test/link-timeout.c @@ -528,6 +528,8 @@ static int test_single_link_timeout(struct io_uring *ring, unsigned nsec) io_uring_cqe_seen(ring, cqe); } + close(fds[0]); + close(fds[1]); return 0; err: return 1; -- 2.24.0