diff options
author | Peter Maydell | 2021-05-03 18:55:23 +0200 |
---|---|---|
committer | Thomas Huth | 2021-05-14 12:28:01 +0200 |
commit | e7b13acdf2bc6f05bbad46f76c7cb63f63426918 (patch) | |
tree | b3fc7880f36bf84949f97ba0a498f9acf666e74c /include/exec/poison.h | |
parent | tests/migration-test: Fix "true" vs true (diff) | |
download | qemu-e7b13acdf2bc6f05bbad46f76c7cb63f63426918.tar.gz qemu-e7b13acdf2bc6f05bbad46f76c7cb63f63426918.tar.xz qemu-e7b13acdf2bc6f05bbad46f76c7cb63f63426918.zip |
tests/qtest/tpm-util.c: Free memory with correct free function
tpm_util_migration_start_qemu() allocates memory with g_strdup_printf()
but frees it with free() rather than g_free(), which provokes Coverity
complaints (CID 1432379, 1432350). Use the correct free function.
Fixes: Coverity CID 1432379, CID 1432350
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210503165525.26221-2-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/exec/poison.h')
0 files changed, 0 insertions, 0 deletions