diff options
| author | Marc-André Lureau | 2018-03-26 19:20:41 +0200 |
|---|---|---|
| committer | Eric Blake | 2018-03-27 17:17:32 +0200 |
| commit | fa15cf8b5c77fc5837bbd67066735b6da5b00ee2 (patch) | |
| tree | 0aee9bfa327bc5819176d14cc890a4b281ccb99a | |
| parent | Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2018-03-26' in... (diff) | |
| download | qemu-fa15cf8b5c77fc5837bbd67066735b6da5b00ee2.tar.gz qemu-fa15cf8b5c77fc5837bbd67066735b6da5b00ee2.tar.xz qemu-fa15cf8b5c77fc5837bbd67066735b6da5b00ee2.zip | |
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>
| -rw-r--r-- | tests/qmp-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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' }"); |
