util: Cleanup error path for virPolkitAgentCreate
More fallout from changing to using virPolkitAgent and handling error paths. Needed to clear the 'cmd' once stored and of course add the virCommandFree(cmd) in the error: label.
Showing
想要评论请 注册 或 登录