aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2015-12-04 13:53:42 +0000
committerGreg Kroah-Hartman <[email protected]>2015-12-04 16:19:55 +0000
commit84ed91526f9881886d70a082032236edaa20e7d4 (patch)
tree8a2a1d9a4f4fe7cf6991de5f31fc03612dea24c0 /drivers/fpga/fpga-mgr.c
parentusb: Use the USB_SS_MULT() macro to decode burst multiplier for log message (diff)
downloadkernel-84ed91526f9881886d70a082032236edaa20e7d4.tar.gz
kernel-84ed91526f9881886d70a082032236edaa20e7d4.zip
xhci: Fix memory leak in xhci_pme_acpi_rtd3_enable()
There is a memory leak because acpi_evaluate_dsm() actually returns an object which the caller is supposed to release. Fix this by calling ACPI_FREE() for the returned object (this expands to kfree() so passing NULL there is fine as well). While there correct indentation in !CONFIG_ACPI case. Signed-off-by: Mika Westerberg <[email protected]> Cc: stable <[email protected]> # v4.2 Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions