mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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