]> Git Repo - qemu.git/blobdiff - tests/test-qmp-commands.c
libqtest: add QTEST_LOG for debugging qtest testcases
[qemu.git] / tests / test-qmp-commands.c
index 8e62c2d8ad4de22183005340c0a4018745fd8c56..554e222b32d024e56e4147a27f075133c0aa5466 100644 (file)
@@ -141,7 +141,7 @@ static void test_dispatch_cmd_io(void)
 
     ret3 = qobject_to_qint(test_qmp_dispatch(req));
     assert(qint_get_int(ret3) == 66);
-    QDECREF(ret);
+    QDECREF(ret3);
 
     QDECREF(req);
 }
This page took 0.020821 seconds and 4 git commands to generate.