Use g_autoptr to free rdma_cm_event to avoid missing to use the not so obvious rdma_ack_cm_event() instead: https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg00511.html
Li Zhijian (1): migration/rdma: Fix cm event use after free Philippe Mathieu-Daudé (1): migration/rdma: Enable use of g_autoptr with struct rdma_cm_event migration/rdma.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) -- 2.26.3