Bluetooth: Fix memory leaks due to chan refcnt
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 23 Mar 2012 07:42:15 +0000 (09:42 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 28 Mar 2012 15:02:39 +0000 (12:02 -0300)
commit8d7e1c7f7e5f9fe8f6279752fc33fcb77afd5001
tree1fce3c7c9832a276399c47c407c2163f8d7dcbe6
parent94324962066231a938564bebad0f941cd2d06bb2
Bluetooth: Fix memory leaks due to chan refcnt

When we queue delayed work we hold(chan) and delayed work
shall put(chan) after execution.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c