aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libvfio-user.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libvfio-user.c b/lib/libvfio-user.c
index 817d9e9..92c1724 100644
--- a/lib/libvfio-user.c
+++ b/lib/libvfio-user.c
@@ -717,12 +717,6 @@ free_msg(vfu_ctx_t *vfu_ctx, vfu_msg_t *msg)
}
free(msg->in_fds);
-
- for (i = 0; i < msg->nr_out_fds; i++) {
- assert(msg->out_fds[i] != -1);
- close(msg->out_fds[i]);
- }
-
free(msg->out_fds);
assert(msg->out_data == NULL || msg->out_iovecs == NULL);