]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf33f8485ec822052a4dc2bc050507fd614c45e69
tree05848e91d3ac481432b3c0718dbb9fd91a5067c1
parent9fd1a02d17bd9b70b113ed1dc8ed91d558354265
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