summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-01-07 15:19:41 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:22 +0200
commit5a0b8159e1c65ce25382d3f5189b6a462422f065 (patch)
treec981287a0ab7c5f9920ff6b8d3ebf0442232f05f /net/bluetooth/hci_core.c
parentf5fd5baee39fe941bd73973c63990d153184e3a1 (diff)
downloadlinux-stable-5a0b8159e1c65ce25382d3f5189b6a462422f065.tar.gz
linux-stable-5a0b8159e1c65ce25382d3f5189b6a462422f065.tar.bz2
linux-stable-5a0b8159e1c65ce25382d3f5189b6a462422f065.zip
Bluetooth: dtl1: Fix memleak in probe()
We currently leak the driver info structure if dtl1_config fails. If we add a kfree() to dtl1_release to fix this, then dtl1_release and dtl1_detach are identical so this merges both functions. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions