Hi,
Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.
1 new defect(s) introduced to libvirt found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 908219: Resource leaks (RESOURCE_LEAK)
/src/hyperv/hyperv_driver.c: 4234 in hypervDomainListAllSnapshots()
_____________________________________________________________________________________________
*** CID 908219: Resource leaks (RESOURCE_LEAK)
/src/hyperv/hyperv_driver.c: 4234 in hypervDomainListAllSnapshots()
4228 if (snapshotsRet[i])
4229 virObjectUnref(snapshotsRet[i]);
4230 }
4231 VIR_FREE(snapshotsRet);
4232 }
4233
>>> CID 908219: Resource leaks (RESOURCE_LEAK)
>>> Variable "snapshotsRet" going out of scope leaks the storage it points to.
4234 return ret;
4235 }
4236
4237
4238 static int
4239 hypervDomainSnapshotNum(virDomainPtr domain,
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview