mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
tests/qtest/aspeed_smc-test: Fix memory leaks
Link: https://patchwork.kernel.org/project/qemu-devel/patch/20250509175047.26066-1-farosas@suse.de/ Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250513080806.1005996-1-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
committed by
Cédric Le Goater
parent
d75cdf6883
commit
d09c0939c9
@@ -228,5 +228,10 @@ int main(int argc, char **argv)
|
||||
unlink(ast2500_evb_data.tmp_path);
|
||||
unlink(ast2600_evb_data.tmp_path);
|
||||
unlink(ast1030_evb_data.tmp_path);
|
||||
g_free(palmetto_data.tmp_path);
|
||||
g_free(ast2500_evb_data.tmp_path);
|
||||
g_free(ast2600_evb_data.tmp_path);
|
||||
g_free(ast1030_evb_data.tmp_path);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user