From: Paulo Borges <paulo.borges@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Paulo Borges <paulo.borges@openbossa.org>
Subject: [PATCH 1/4] gas: Fix memory leak at gas struct removal
Date: Fri, 30 Nov 2012 15:31:30 -0300 [thread overview]
Message-ID: <1354300294-9105-1-git-send-email-paulo.borges@openbossa.org> (raw)
---
profiles/gatt/gas.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c
index 0e82097..e6cddad 100644
--- a/profiles/gatt/gas.c
+++ b/profiles/gatt/gas.c
@@ -64,6 +64,7 @@ static void gas_free(struct gas *gas)
if (gas->attioid)
btd_device_remove_attio_callback(gas->device, gas->attioid);
+ g_attrib_unref(gas->attrib);
btd_device_unref(gas->device);
g_free(gas);
}
--
1.7.9.5
next 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 Paulo Borges [this message]
2012-11-30 18:31 ` [PATCH 2/4] input: Fix memory leak at hogdev struct removal Paulo Borges
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-1-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