qtest: fix qtest_qmp_device_add leak
Spotted by ASAN. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20191107192731.17330-3-marcandre.lureau@redhat.com> Reviewed-by: NThomas Huth <thuth@redhat.com> Fixes: b4510bb4 ("tests: add qtest_qmp_device_add_qdict() helper") Signed-off-by: NThomas Huth <thuth@redhat.com>
Showing
想要评论请 注册 或 登录