提交 369e5a82 编写于 作者: J John Ferlan

openvz: Remove unnecessary Unref in openvzLoadDomains

Since there is no way to get to cleanup without dom being NULL,
this is a unnecessary Unref.
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 5e75d3a0
......@@ -626,7 +626,6 @@ int openvzLoadDomains(struct openvz_driver *driver)
virCommandFree(cmd);
VIR_FREE(temp);
VIR_FREE(outbuf);
virObjectUnref(dom);
virDomainDefFree(def);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册