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

index f36defa3776482ec291546e454b1676339b9afec..57d965b7f52199775b738c78139672b8598cab09 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;
 }