commit | faaebd192ec9c3febcab98149d1309199a5b886c | [log] [tgz] |
---|---|---|
author | Gustavo F. Padovan <padovan@profusion.mobi> | Sat May 01 16:15:35 2010 -0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon May 10 09:28:45 2010 +0200 |
tree | 2509dbba335bc837326dc2f25d905af6e4540290 | |
parent | c69163e9ed5048407cc84f439cbfecc53f6f7131 [diff] [blame] |
Bluetooth: Fix memory leak of S-frames into L2CAP l2cap_data_channel do not free the S-frame, so we free it here. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index c9a848d..46f2264 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c
@@ -3522,6 +3522,7 @@ break; } + kfree_skb(skb); return 0; }