mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
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
Block a user