summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/send_recvmsg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/send_recvmsg.c b/test/send_recvmsg.c
index a279a3f..8092947 100644
--- a/test/send_recvmsg.c
+++ b/test/send_recvmsg.c
@@ -73,6 +73,7 @@ static int recv_prep(struct io_uring *ring, struct iovec *iov, int gid)
goto err;
}
+ close(sockfd);
return 0;
err:
close(sockfd);