aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2021-01-20 23:34:19 -0800
committerMarcel Holtmann <[email protected]>2021-01-25 16:13:52 +0100
commit5a3ef03afe7e12982dc3b978f4c5077c907f7501 (patch)
tree114c8ddbfb84001476996c03056fb556f25ceece /lib/mpi/mpi-bit.c
parentbf6a4e30ffbd9e9ef8934582feb937f6532f8b68 (diff)
Bluetooth: drop HCI device reference before return
Call hci_dev_put() to decrement reference count of HCI device hdev if fails to duplicate memory. Fixes: 0b26ab9dce74 ("Bluetooth: AMP: Handle Accept phylink command status evt") Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions