diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-04-03 21:50:11 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-29 18:56:06 +0300 |
commit | 5accb265f7a1b23e52b0ec42313d1e12895552f4 (patch) | |
tree | 7c2c084b9bf2f906c3066761d35327796a593651 /rust/helpers/task.c | |
parent | cff8a9f66a932011f32b102b17a40635bf3a83d8 (diff) | |
download | linux-5accb265f7a1b23e52b0ec42313d1e12895552f4.tar.xz |
ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
ACPICA commit 2802af722bbde7bf1a7ac68df68e179e2555d361
If acpi_ps_get_next_namepath() fails, the previously allocated
union acpi_parse_object needs to be freed before returning the
status code.
The issue was first being reported on the Linux ACPI mailing list:
Link: https://lore.kernel.org/linux-acpi/56f94776-484f-48c0-8855-dba8e6a7793b@yandex.ru/T/
Link: https://github.com/acpica/acpica/commit/2802af72
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions