]> xenbits.xensource.com Git - libvirt.git/commitdiff
drivermodule: Ignore coverity warning about leaked_storage
authorJohn Ferlan <jferlan@redhat.com>
Mon, 14 Jan 2013 15:35:08 +0000 (10:35 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 16 Feb 2013 12:44:34 +0000 (07:44 -0500)
tests/virdrivermoduletest.c

index de8cf70532306468c8f4e9a2f2b3db34e014822c..bbceb966bdd58d17623603e8eadba9d5296e8ee3 100644 (file)
@@ -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;