aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorMisono Tomohiro <[email protected]>2020-06-25 04:32:42 +0000
committerGuenter Roeck <[email protected]>2020-06-25 23:06:06 +0000
commit8b97f9922211c44a739c5cbd9502ecbb9f17f6d1 (patch)
tree2904c7078b62cf6ab185cbb9331f4388ff860817 /drivers/pci/controller/pci-host-generic.c
parenthwmon: (max6697) Make sure the OVERT mask is set correctly (diff)
downloadkernel-8b97f9922211c44a739c5cbd9502ecbb9f17f6d1.tar.gz
kernel-8b97f9922211c44a739c5cbd9502ecbb9f17f6d1.zip
hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
Although it rarely happens, we should call free_capabilities() if error happens after read_capabilities() to free allocated strings. Fixes: de584afa5e188 ("hwmon driver for ACPI 4.0 power meters") Signed-off-by: Misono Tomohiro <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions