]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/eepro100-test.c
nbd: Create struct for tracking export info
[mirror_qemu.git] / tests / eepro100-test.c
index 8bfaccdcbbf5d61c5ec1e82f6a16e667f09d7b2d..bdc8a67d570f6f16eec6f94049a96f0b9c5112f2 100644 (file)
@@ -7,10 +7,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#include <glib.h>
-#include <string.h>
-#include "libqtest.h"
 #include "qemu/osdep.h"
+#include "libqtest.h"
 
 static void test_device(gconstpointer data)
 {
@@ -56,6 +54,7 @@ int main(int argc, char **argv)
 
         path = g_strdup_printf("eepro100/%s", models[i]);
         qtest_add_data_func(path, models[i], test_device);
+        g_free(path);
     }
 
     return g_test_run();