aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-04 09:55:51 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-02-03 19:08:30 -0800
commit88d1a0cf659438a66135661538ae332b23f8635a (patch)
tree79112315db9ede0463787f73842a8c1233c5168f /drivers/bluetooth
parent6c2718da59613d76013b501bf0f8bcf9d7794b2d (diff)
downloadkernel_samsung_smdk4412-88d1a0cf659438a66135661538ae332b23f8635a.zip
kernel_samsung_smdk4412-88d1a0cf659438a66135661538ae332b23f8635a.tar.gz
kernel_samsung_smdk4412-88d1a0cf659438a66135661538ae332b23f8635a.tar.bz2
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')
-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 f36defa..57d965b 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;
}