aboutsummaryrefslogtreecommitdiff
path: root/migration-rdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'migration-rdma.c')
-rw-r--r--migration-rdma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration-rdma.c b/migration-rdma.c
index 83c9a0b761..3a380d411a 100644
--- a/migration-rdma.c
+++ b/migration-rdma.c
@@ -2097,6 +2097,8 @@ static void qemu_rdma_cleanup(RDMAContext *rdma)
rdma_destroy_event_channel(rdma->channel);
rdma->channel = NULL;
}
+ g_free(rdma->host);
+ rdma->host = NULL;
}