From: Gowtham Anandha Babu <gowtham.ab@samsung.com>
To: linux-bluetooth@vger.kernel.org
Cc: bharat.panda@samsung.com, cpgs@samsung.com,
Gowtham Anandha Babu <gowtham.ab@samsung.com>
Subject: [PATCH 0/3] Fix memory issue and trivial code cleaup
Date: Wed, 14 Jan 2015 15:27:35 +0530 [thread overview]
Message-ID: <1421229458-11207-1-git-send-email-gowtham.ab@samsung.com> (raw)
In gatt-client and gatt-helpers, the variables are accessed
even after it is freed. Making the unref at appropriate
places solved the issues.
In tools, removed dead code warnings.
Gowtham Anandha Babu (3):
shared/gatt-helpers: Fix usage of freed memory
shared/gatt-client: Fix usage of freed memory
tools/hciattach_ath3k: Remove dead code warnings
src/shared/gatt-client.c | 23 +++++++++++------------
src/shared/gatt-helpers.c | 25 ++++++++++++++++---------
tools/hciattach_ath3k.c | 11 +----------
3 files changed, 28 insertions(+), 31 deletions(-)
--
1.9.1
next reply other threads:[~2015-01-14 9:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 9:57 Gowtham Anandha Babu [this message]
2015-01-14 9:57 ` [PATCH 1/3] shared/gatt-helpers: Fix usage of freed memory Gowtham Anandha Babu
2015-01-20 9:34 ` Gowtham Anandha Babu
2015-01-14 9:57 ` [PATCH 2/3] shared/gatt-client: " Gowtham Anandha Babu
2015-01-20 9:35 ` Gowtham Anandha Babu
2015-01-14 9:57 ` [PATCH 3/3] tools/hciattach_ath3k: Remove dead code warnings Gowtham Anandha Babu
2015-01-20 9:35 ` Gowtham Anandha Babu
2015-01-20 9:34 ` [PATCH 0/3] Fix memory issue and trivial code cleaup Gowtham Anandha Babu
2015-01-22 9:03 ` Luiz Augusto von Dentz
2015-01-27 8:58 ` Gowtham Anandha Babu
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=1421229458-11207-1-git-send-email-gowtham.ab@samsung.com \
--to=gowtham.ab@samsung.com \
--cc=bharat.panda@samsung.com \
--cc=cpgs@samsung.com \
--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;
as well as URLs for NNTP newsgroup(s).