[PATCH openEuler-1.0-LTS v4 255/292] acpi/hmat: fix memory leaks in hmat_init()