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. *v1: Rebased. 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 | 16 +++++++++------- src/shared/gatt-helpers.c | 25 ++++++++++++++++--------- tools/hciattach_ath3k.c | 11 +---------- 3 files changed, 26 insertions(+), 26 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html