]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Add missing acpi_dev_free_resource_list()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 30 Sep 2015 13:26:41 +0000 (16:26 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Oct 2015 08:03:37 +0000 (10:03 +0200)
commitb742695d85109fc8eb6ba12dda2d0b912029f90b
treee4310ddaccdf9b24b10b9b11ad00dd3c78ab4487
parent249724afd7bc292637b10b7d8652c14204e73265
Bluetooth: hci_bcm: Add missing acpi_dev_free_resource_list()

Caller of acpi_dev_get_resources() should free the constructed resource
list by calling the acpi_dev_free_resource_list() in order to avoid memory
leak.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c