mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
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: John Ferlan <jferlan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5e75d3a005
commit
369e5a828f
@ -626,7 +626,6 @@ int openvzLoadDomains(struct openvz_driver *driver)
|
||||
virCommandFree(cmd);
|
||||
VIR_FREE(temp);
|
||||
VIR_FREE(outbuf);
|
||||
virObjectUnref(dom);
|
||||
virDomainDefFree(def);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user