Fix coverity-reported leak in virSecurityManagerGenLabel
Coverity complains about a possible leak of seclabel if !sec_managers[i]->drv->domainGenSecurityLabel is true and the seclabel might be overwritten by the next iteration of the loop. This leak should never happen, because every security driver has domainGenSecurityLabel defined.
Showing
想要评论请 注册 或 登录