Commit 88d1a0cf authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Marcel Holtmann

Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver

Signed-off-by: default avatarYoichi Yuasa <yuasa@linux-mips.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 6c2718da
...@@ -808,6 +808,7 @@ static int btmrvl_sdio_host_to_card(struct btmrvl_private *priv, ...@@ -808,6 +808,7 @@ static int btmrvl_sdio_host_to_card(struct btmrvl_private *priv,
exit: exit:
sdio_release_host(card->func); sdio_release_host(card->func);
kfree(tmpbuf);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment