]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix memory leak in L2CAP
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Wed, 23 Dec 2009 11:07:14 +0000 (13:07 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Jan 2010 13:57:20 +0000 (05:57 -0800)
commit92b72eb3035d23df3deebda534900a71e501e4b7
tree1a6b994bb9d3d083ed36c7212322e8159ebc5f13
parent1235b4e1121224781d7176248eeb5feda4107248
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>
net/bluetooth/l2cap.c