summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-04 01:55:51 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-02-04 04:08:30 +0100
commit88d1a0cf659438a66135661538ae332b23f8635a (patch)
tree79112315db9ede0463787f73842a8c1233c5168f /drivers/bluetooth/btmrvl_sdio.c
parentBluetooth: Do not call rfcomm_session_put() for RFCOMM UA on closed socket (diff)
downloadlinux-88d1a0cf659438a66135661538ae332b23f8635a.tar.xz
linux-88d1a0cf659438a66135661538ae332b23f8635a.zip
Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index f36defa37764..57d965b7f521 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -808,6 +808,7 @@ static int btmrvl_sdio_host_to_card(struct btmrvl_private *priv,
exit:
sdio_release_host(card->func);
+ kfree(tmpbuf);
return ret;
}