Apparently introduced in commit a4f90923b520f1dc0a768634877eb412e5052c26.
Signed-off-by: Marc-André Lureau <[email protected]>
---
tests/qmp-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qmp-test.c b/tests/qmp-test.c
index 558e83540c..8de99a4727 100644
--- a/tests/qmp-test.c
+++ b/tests/qmp-test.c
@@ -90,6 +90,7 @@ static void test_qmp_protocol(void)
test_version(qdict_get(q, "version"));
capabilities = qdict_get_qlist(q, "capabilities");
g_assert(capabilities && qlist_empty(capabilities));
+ QDECREF(resp);
/* Test valid command before handshake */
resp = qtest_qmp(qts, "{ 'execute': 'query-version' }");
--
2.17.0.rc1.1.g4c4f2b46a3