]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/pvpanic-test.c
e1000: disable debug by default
[mirror_qemu.git] / tests / pvpanic-test.c
index a7ad6b30646e3d8534a024797aad4f404101e89b..71ebb5c02c1527da9c5f3deac77502ce05a0c9cd 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_panic(void)
 {
@@ -29,6 +27,7 @@ static void test_panic(void)
     data = qdict_get_qdict(response, "data");
     g_assert(qdict_haskey(data, "action"));
     g_assert_cmpstr(qdict_get_str(data, "action"), ==, "pause");
+    QDECREF(response);
 }
 
 int main(int argc, char **argv)