diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-11-10 12:27:11 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-03-01 00:09:28 +0400 |
commit | dc491fead04a92a612df93b85b0ebf9dcc3f6684 (patch) | |
tree | a58bda301c8f0c93bf51214dc63f271924ca614f /tests/postcopy-test.c | |
parent | fc34059f080680b560b3f656988fdd9a75cd0eab (diff) |
tests: fix qmp response leak
Spotted by ASAN.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/postcopy-test.c')
-rw-r--r-- | tests/postcopy-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index dafe8beba4..de35a18903 100644 --- a/tests/postcopy-test.c +++ b/tests/postcopy-test.c @@ -482,7 +482,7 @@ static void test_migrate(void) usleep(10 * 1000); } while (dest_byte_a == dest_byte_b); - qmp("{ 'execute' : 'stop'}"); + qmp_discard_response("{ 'execute' : 'stop'}"); /* With it stopped, check nothing changes */ qtest_memread(to, start_address, &dest_byte_c, 1); sleep(1); |