]> git.ipfire.org Git - thirdparty/qemu.git/commit
qtest: fix qtest_qmp_device_add leak
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 7 Nov 2019 19:27:30 +0000 (23:27 +0400)
committerThomas Huth <thuth@redhat.com>
Mon, 11 Nov 2019 12:01:46 +0000 (13:01 +0100)
commit36524a1a3dd280189b3129029caa5d114b41b2c0
tree22efc30ee657e52e70ee34f74411e05ada0f6071
parent654efcb511d394c1d3f5292c28503d1d19e5b1d3
qtest: fix qtest_qmp_device_add leak

Spotted by ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20191107192731.17330-3-marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Fixes: b4510bb4109f5f ("tests: add qtest_qmp_device_add_qdict() helper")
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/libqtest.c