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)
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>

No differences found