diff options
author | Andrei Emeltchenko <andrei.emeltchenko@nokia.com> | 2009-12-23 12:07:14 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-30 14:57:20 +0100 |
commit | e420aba331f44de0eed6871441293a6124d566d1 (patch) | |
tree | 1a6b994bb9d3d083ed36c7212322e8159ebc5f13 /drivers/bluetooth/bluecard_cs.c | |
parent | Bluetooth: Remove double free of SKB pointer in L2CAP (diff) | |
download | linux-e420aba331f44de0eed6871441293a6124d566d1.tar.xz linux-e420aba331f44de0eed6871441293a6124d566d1.zip |
Bluetooth: Fix memory leak in L2CAP
Move skb_clone after error confition check so it is not going
potentially out of the scope.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
0 files changed, 0 insertions, 0 deletions