diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-09-27 15:37:26 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-09-27 14:58:14 +0200 |
commit | 0d9741abd1c583e7bedb178358a9abd0981f49ba (patch) | |
tree | 3ee8c1902e911be7f94eb610feb8bf370b582aad /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 058f5e407deb8d21b0a04e50e8efbd25b1fcbd1b (diff) |
ACPI: thermal: Fix a small leak in acpi_thermal_add()
Free "tz" if the "trip" allocation fails.
Fixes: 5fc2189f9335 ("ACPI: thermal: Create and populate trip points table earlier")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions