Commit: 1db97762e976bdf9304ffc9873b052fbaec48de1
Parent: e3e4b3f1101fd5c9e568d446cc06fd512f964937
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-04-02 11:04:36
Tree: 42b9c3e725043be0a7e64140b9b41e99afe8f0dc

shared/gatt-client: Fix possible crash Similar to issue found with unit test it is necessary to protect bt_gatt_client instance before calling the callback otherwise it may destroy it causing a crash.

Diffstat

M src/shared/gatt-client.c | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

View Full Diff | Patch