diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-04-14 21:50:33 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-29 19:03:14 +0200 |
commit | e6169a8ffee8a012badd8c703716e761ce851b15 (patch) | |
tree | 98bdda476f62adb7dd365ed796cc759fa328e5f5 /tools/perf/scripts/python/gecko.py | |
parent | 5accb265f7a1b23e52b0ec42313d1e12895552f4 (diff) |
ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
ACPICA commit 1280045754264841b119a5ede96cd005bc09b5a7
If acpi_ps_get_next_field() fails, the previously created field list
needs to be properly disposed before returning the status code.
Link: https://github.com/acpica/acpica/commit/12800457
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
[ rjw: Rename local variable to avoid compiler confusion ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions