diff options
author | Rafael Mendonca <[email protected]> | 2022-09-09 12:33:19 -0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-09-22 21:03:57 +0200 |
commit | f890157e61b85ce8ae01a41ffa375e3b99853698 (patch) | |
tree | 1b86b8e1b8ab71975396b227d9dcfe7f5dc663df /lib/mpi/mpi-mod.c | |
parent | 521a547ced6477c54b4b0cc206000406c221b4d6 (diff) |
ACPI: PCC: Release resources on address space setup failure path
The allocated memory for the pcc_data struct doesn't get freed under an
error path in pcc_mbox_request_channel() or acpi_os_ioremap(). Also, the
PCC mailbox channel doesn't get freed under an error path in
acpi_os_ioremap().
Fixes: 77e2a04745ff8 ("ACPI: PCC: Implement OperationRegion handler for the PCC Type 3 subtype")
Signed-off-by: Rafael Mendonca <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions