]> 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 d435833f79763dd3afd34d173f050087d6196354..71ebb5c02c1527da9c5f3deac77502ce05a0c9cd 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "qemu/osdep.h"
-#include <glib.h>
 #include "libqtest.h"
 
 static void test_panic(void)
@@ -28,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)