summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-01-07 14:19:41 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 15:01:22 (GMT)
commit5a0b8159e1c65ce25382d3f5189b6a462422f065 (patch)
treec981287a0ab7c5f9920ff6b8d3ebf0442232f05f /lib
parentf5fd5baee39fe941bd73973c63990d153184e3a1 (diff)
downloadlinux-5a0b8159e1c65ce25382d3f5189b6a462422f065.tar.xz
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 'lib')
0 files changed, 0 insertions, 0 deletions