New Defects reported by Coverity Scan for libvirt

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. 3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 405770: Resource leaks (RESOURCE_LEAK) /tests/qemublocktest.c: 990 in mymain() ________________________________________________________________________________________________________ *** CID 405770: Resource leaks (RESOURCE_LEAK) /tests/qemublocktest.c: 990 in mymain() 984 return EXIT_FAILURE; 985 986 VIR_TEST_VERBOSE("\nlatest caps x86_64: %s", capslatest_x86_64); 987 988 if (!(caps_x86_64 = qemuTestParseCapabilitiesArch(virArchFromString("x86_64"), 989 capslatest_x86_64)))
CID 405770: Resource leaks (RESOURCE_LEAK) Variable "capslatest_x86_64" going out of scope leaks the storage it points to.
990 return EXIT_FAILURE; 991 992 diskxmljsondata.qemuCaps = caps_x86_64; 993 imagecreatedata.qemuCaps = caps_x86_64; 994 995 if (!(qmp_schema_x86_64 = testQEMUSchemaLoadLatest("x86_64"))) {
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com