diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-07 14:19:41 (GMT) |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 15:01:22 (GMT) |
commit | 5a0b8159e1c65ce25382d3f5189b6a462422f065 (patch) | |
tree | c981287a0ab7c5f9920ff6b8d3ebf0442232f05f /net/mac80211 | |
parent | f5fd5baee39fe941bd73973c63990d153184e3a1 (diff) | |
download | linux-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 'net/mac80211')
0 files changed, 0 insertions, 0 deletions