aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRafael Mendonca <[email protected]>2022-09-09 12:33:19 -0300
committerRafael J. Wysocki <[email protected]>2022-09-22 21:03:57 +0200
commitf890157e61b85ce8ae01a41ffa375e3b99853698 (patch)
tree1b86b8e1b8ab71975396b227d9dcfe7f5dc663df /lib/mpi/mpi-mod.c
parent521a547ced6477c54b4b0cc206000406c221b4d6 (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