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 314369: (RESOURCE_LEAK)
/src/esx/esx_driver.c: 3081 in esxDomainDefineXMLFlags()
/src/esx/esx_driver.c: 3081 in esxDomainDefineXMLFlags()
________________________________________________________________________________________________________
*** CID 314369: (RESOURCE_LEAK)
/src/esx/esx_driver.c: 3081 in esxDomainDefineXMLFlags()
3075 virDomainDefFree(def);
3076 esxVI_ObjectContent_Free(&virtualMachine);
3077 esxVI_String_Free(&propertyNameList);
3078 esxVI_ObjectContent_Free(&hostSystem);
3079 esxVI_ManagedObjectReference_Free(&resourcePool);
3080 esxVI_ManagedObjectReference_Free(&task);
>> CID 314369: (RESOURCE_LEAK)
>> Variable "datastoreRelatedPath" going out of scope leaks the
storage it points to.
3081 return domain;
3082 }
3083
3084 static virDomainPtr
3085 esxDomainDefineXML(virConnectPtr conn, const char *xml)
3086 {
/src/esx/esx_driver.c: 3081 in esxDomainDefineXMLFlags()
3075 virDomainDefFree(def);
3076 esxVI_ObjectContent_Free(&virtualMachine);
3077 esxVI_String_Free(&propertyNameList);
3078 esxVI_ObjectContent_Free(&hostSystem);
3079 esxVI_ManagedObjectReference_Free(&resourcePool);
3080 esxVI_ManagedObjectReference_Free(&task);
>> CID 314369: (RESOURCE_LEAK)
>> Variable "datastoreRelatedPath" going out of scope leaks the
storage it points to.
3081 return domain;
3082 }
3083
3084 static virDomainPtr
3085 esxDomainDefineXML(virConnectPtr conn, const char *xml)
3086 {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...