mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
tests/qtest/bios-tables-test: Free tables at dump_aml_files
The dump_aml_files() function calls load_expected_aml() to allocate the tables but never frees it. Add the missing call to free_test_data(). Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20241209204427.17763-4-farosas@suse.de> Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
117221ad99
commit
a475e5de01
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ static void dump_aml_files(test_data *data, bool rebuild)
|
|||
|
||||
g_free(aml_file);
|
||||
}
|
||||
free_test_data(&exp_data);
|
||||
}
|
||||
|
||||
static bool create_tmp_asl(AcpiSdtTable *sdt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue