qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

qmp-test: fix response leak

Apparently introduced in commit a4f90923b520f1dc0a768634877eb412e5052c26.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180326172041.21009-1-marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

authored by

Marc-André Lureau and committed by
Eric Blake
fa15cf8b bdc408e9

+1
+1
tests/qmp-test.c
··· 90 90 test_version(qdict_get(q, "version")); 91 91 capabilities = qdict_get_qlist(q, "capabilities"); 92 92 g_assert(capabilities && qlist_empty(capabilities)); 93 + QDECREF(resp); 93 94 94 95 /* Test valid command before handshake */ 95 96 resp = qtest_qmp(qts, "{ 'execute': 'query-version' }");