mirror of https://gitee.com/openkylin/libvirt.git
drivermodule: Ignore coverity warning about leaked_storage
This commit is contained in:
parent
b7d00de2bd
commit
e2f1fc5220
|
@ -39,10 +39,12 @@ static int testDriverModule(const void *args)
|
|||
{
|
||||
const struct testDriverData *data = args;
|
||||
|
||||
/* coverity[leaked_storage] */
|
||||
if (data->dep1 &&
|
||||
!virDriverLoadModule(data->dep1))
|
||||
return -1;
|
||||
|
||||
/* coverity[leaked_storage] */
|
||||
if (!virDriverLoadModule(data->name))
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue