提交 5e78bc6a 编写于 作者: P Paolo Bonzini

migration: fix memory leak

Reported by ASAN.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 1afee8c3
......@@ -199,6 +199,7 @@ static void socket_start_incoming_migration(SocketAddress *saddr,
return;
}
migrate_add_address(address);
qapi_free_SocketAddress(address);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册