test: acpi: Correct memory leaks
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:26:04 +0000 (14:26 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:43:22 +0000 (11:43 -0600)
commit9e98664cdbab7419d527259daee2c09e1bd2898d
treea8fb77c59562597898633008c4822c1d09878114
parente53d631f833b7cdcaa413a8e339acfe3d1c01a1f
test: acpi: Correct memory leaks

Free the memory used in tests to avoid a leak. Also unmap the addresses
for sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/dm/acpi.c