projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117221a
)
tests/qtest/bios-tables-test: Free tables at dump_aml_files
author
Fabiano Rosas
<farosas@suse.de>
Mon, 9 Dec 2024 20:44:24 +0000
(17:44 -0300)
committer
Fabiano Rosas
<farosas@suse.de>
Thu, 2 Jan 2025 19:00:50 +0000
(16:00 -0300)
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>
tests/qtest/bios-tables-test.c
patch
|
blob
|
history
diff --git
a/tests/qtest/bios-tables-test.c
b/tests/qtest/bios-tables-test.c
index 6035ec2c61e897ea04fe3031d34d5f00a069b572..0a333ec43536ac917b06f788cc6351576b71228e 100644
(file)
--- a/
tests/qtest/bios-tables-test.c
+++ b/
tests/qtest/bios-tables-test.c
@@
-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)