New Defects reported by Coverity Scan for libvirt
by scan-admin@coverity.com
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 456049: Resource leaks (RESOURCE_LEAK)
/tests/testutils.c: 856 in virTestMain()
________________________________________________________________________________________________________
*** CID 456049: Resource leaks (RESOURCE_LEAK)
/tests/testutils.c: 856 in virTestMain()
850 preloads[npreloads] = NULL;
851 }
852 va_end(ap);
853
854 if (preloads) {
855 mock = g_strjoinv(":", (char **)preloads);
>>> CID 456049: Resource leaks (RESOURCE_LEAK)
>>> Variable "new_library_path" going out of scope leaks the storage it points to.
856 VIR_TEST_PRELOAD(mock);
857 }
858
859 progname = g_path_get_basename(argv[0]);
860
861 g_setenv("VIR_TEST_MOCK_PROGNAME", progname, TRUE);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy...