Bluetooth: Fix memory leak with L2CAP channels
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 25 Apr 2011 18:10:41 +0000 (15:10 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 04:10:01 +0000 (01:10 -0300)
commit6ff5abbf4e4aa88feb9c2367d4fbd9ea081bf98c
tree05848e91d3ac481432b3c0718dbb9fd91a5067c1
parent8c1d787be4b62d2d1b6f04953eca4bcf7c839d44
Bluetooth: Fix memory leak with L2CAP channels

A new l2cap_chan_free() is added to free the channels.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c