Hi,

Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.

Defect Details

** 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,

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team