From: Paulo Borges <paulo.borges@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Paulo Borges <paulo.borges@openbossa.org>
Subject: [PATCH 2/4] input: Fix memory leak at hogdev struct removal
Date: Fri, 30 Nov 2012 15:31:31 -0300 [thread overview]
Message-ID: <1354300294-9105-2-git-send-email-paulo.borges@openbossa.org> (raw)
In-Reply-To: <1354300294-9105-1-git-send-email-paulo.borges@openbossa.org>
---
profiles/input/hog_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/profiles/input/hog_device.c b/profiles/input/hog_device.c
index 0a5fb58..a873eac 100644
--- a/profiles/input/hog_device.c
+++ b/profiles/input/hog_device.c
@@ -705,6 +705,7 @@ static void hog_device_free(struct hog_device *hogdev)
{
btd_device_unref(hogdev->device);
g_slist_free_full(hogdev->reports, report_free);
+ g_attrib_unref(hogdev->attrib);
g_free(hogdev->hog_primary);
g_free(hogdev);
}
--
1.7.9.5
next prev parent reply other threads:[~2012-11-30 18:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 18:31 [PATCH 1/4] gas: Fix memory leak at gas struct removal Paulo Borges
2012-11-30 18:31 ` Paulo Borges [this message]
2012-11-30 18:31 ` [PATCH 3/4] gatt: Fix memory leak in characteristic discovery Paulo Borges
2012-11-30 18:31 ` [PATCH 4/4] gatt: Improve characteristics discovery Paulo Borges
2012-12-01 9:11 ` [PATCH 1/4] gas: Fix memory leak at gas struct removal Johan Hedberg
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=1354300294-9105-2-git-send-email-paulo.borges@openbossa.org \
--to=paulo.borges@openbossa.org \
--cc=linux-bluetooth@vger.kernel.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