Browse Source

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>
Yoichi Yuasa 15 years ago
parent
commit
88d1a0cf65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/bluetooth/btmrvl_sdio.c

+ 1 - 0
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;
 }