]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/test-iov.c
e1000: disable debug by default
[mirror_qemu.git] / tests / test-iov.c
index 46ae25efd683131f255bbd7f8bd8e572bc88cb72..a22d71fd2c57c9f15a0c573b422ff9f62db49466 100644 (file)
@@ -208,6 +208,9 @@ static void test_io(void)
                } while(k < j);
            }
        }
+       iov_free(iov, niov);
+       g_free(buf);
+       g_free(siov);
        exit(0);
 
     } else {
@@ -246,6 +249,10 @@ static void test_io(void)
                test_iov_bytes(iov, niov, i, j - i);
            }
         }
+
+       iov_free(iov, niov);
+       g_free(buf);
+       g_free(siov);
      }
 #endif
 }