linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH  0/3] Fix memory issue and trivial code cleaup
@ 2015-01-14  9:57 Gowtham Anandha Babu
  2015-01-14  9:57 ` [PATCH 1/3] shared/gatt-helpers: Fix usage of freed memory Gowtham Anandha Babu
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Gowtham Anandha Babu @ 2015-01-14  9:57 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: bharat.panda, cpgs, Gowtham Anandha Babu

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-01-27  8:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14  9:57 [PATCH 0/3] Fix memory issue and trivial code cleaup Gowtham Anandha Babu
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

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).