summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoyd@nvidia.com>2025-08-25 14:46:42 -0700
committerBjorn Helgaas <bhelgaas@google.com>2025-08-27 17:28:07 -0500
commitfac679df7580979174c90303f004b09cdc6f086f (patch)
tree0fc85e4a13e873ad225ac9393d30a59c3d3bdd6b /drivers/infiniband/hw/ionic/ionic_datapath.c
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
PCI/ACPI: Fix pci_acpi_preserve_config() memory leak
pci_acpi_preserve_config() leaks memory by returning early without freeing the ACPI object on success. Fix that by always freeing the obj, which is not needed by the caller. Fixes: 9d7d5db8e78e ("PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to pci_register_host_bridge()") Signed-off-by: Nirmoy Das <nirmoyd@nvidia.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20250825214642.142135-1-nirmoyd@nvidia.com
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions