hyperv: Fix and improve hypervListAllDomains
Use MATCH for all flags checks. hypervMsvmComputerSystemToDomain expects the domain pointer to the initialized to NULL. All items in doms up to the count-th one are valid, no need to double check before freeing them.
Showing
想要评论请 注册 或 登录