
11 Mar
2015
11 Mar
'15
7:44 a.m.
On Tue, Mar 10, 2015 at 19:20:29 -0400, John Ferlan wrote:
Coverity notes in xenapiDomainGetXMLDesc that 'vms' is dereferenced a few times before a "if (vms) xen_vm_set_free(vms);" call is made. Since we'd exit out much sooner if the fetch of the vms failed, just remove the unnecessary "if (vms)" check.
Signed-off-by: John Ferlan <jferlan@redhat.com> --- src/xenapi/xenapi_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
ACK, Peter