Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver
authorYoichi Yuasa <yuasa@linux-mips.org>
Thu, 4 Feb 2010 00:55:51 +0000 (09:55 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 4 Feb 2010 03:08:30 +0000 (19:08 -0800)
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c

index f36defa..57d965b 100644 (file)
@@ -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;
 }