[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 1/5] drivermodule: Ignore coverity warning about leaked_storage



---
 tests/virdrivermoduletest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/virdrivermoduletest.c b/tests/virdrivermoduletest.c
index de8cf70..bbceb96 100644
--- a/tests/virdrivermoduletest.c
+++ b/tests/virdrivermoduletest.c
@@ -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;
 
-- 
1.7.11.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]