]> git.proxmox.com Git - qemu.git/blobdiff - tests/test-qmp-input-visitor.c
hw/i386/Makefile.obj: use $(PYTHON) to run .py scripts consistently
[qemu.git] / tests / test-qmp-input-visitor.c
index 2741eef3fa3792aaa1f495e310642898750eb7ab..1e1c6fa0c27bb5c64e7fef9398da0d2b15673450 100644 (file)
@@ -394,7 +394,7 @@ static void test_native_list_integer_helper(TestInputVisitorData *data,
         break;
     }
     default:
-        g_assert(false);
+        g_assert_not_reached();
     }
 
     g_string_free(gstr_union, true);
@@ -604,6 +604,7 @@ static void test_visitor_in_errors(TestInputVisitorData *data,
     g_assert(error_is_set(&errp));
     g_assert(p->string == NULL);
 
+    error_free(errp);
     g_free(p->string);
     g_free(p);
 }