Parent: 348f12a2d3cdca7590a3ce26bc61032e86ee5d55
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-17 15:11:38
Tree: 8ec535f4bceb83528ad1a7e292803ea80f59cf40
shared/att: Guard against invalid ref in callbacks This patch adds a ref-count guard around incoming PDU handling so that calling bt_att_unref from a callback doesn't free the bt_att instance.
Diffstat
| M | src/shared/att.c | | | 5 | +++++ |
1 files changed, 5 insertions(+), 0 deletions(-)