From: Yoichi Yuasa <yuasa@linux-mips.org>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: yuasa@linux-mips.org, linux-bluetooth@vger.kernel.org
Subject: [PATCH] bluetooth: fix memory leak Marvell BT-over-SDIO driver
Date: Thu, 4 Feb 2010 09:55:51 +0900 [thread overview]
Message-ID: <20100204095551.8d6a8c40.yuasa@linux-mips.org> (raw)
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
drivers/bluetooth/btmrvl_sdio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index f36defa..57d965b 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;
}
--
1.6.6.1
next reply other threads:[~2010-02-04 0:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 0:55 Yoichi Yuasa [this message]
2010-02-04 3:09 ` [PATCH] bluetooth: fix memory leak Marvell BT-over-SDIO driver Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100204095551.8d6a8c40.yuasa@linux-mips.org \
--to=yuasa@linux-mips.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox