Skip to content

Commit 82e258d

Browse files
terencelihuth
authored andcommitted
qtest: bios-tables-test: fix a memory leak
Fixes: 5da7c35("bios-tables-test: Add Q35/TPM-TIS test") Signed-off-by: Li Qiang <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Auger <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent 95d1fba commit 82e258d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/qtest/bios-tables-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,7 @@ static void test_acpi_tcg_tpm(const char *machine, const char *tpm_if,
924924
g_free(variant);
925925
g_free(tmp_path);
926926
g_free(tmp_dir_name);
927+
g_free(args);
927928
free_test_data(&data);
928929
#else
929930
g_test_skip("TPM disabled");

0 commit comments

Comments
 (0)