From: Yoichi Yuasa Date: Thu, 4 Feb 2010 00:55:51 +0000 (+0900) Subject: Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=88d1a0cf659438a66135661538ae332b23f8635a;p=linux.git Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver Signed-off-by: Yoichi Yuasa Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index f36defa377648..57d965b7f5219 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; }