Commit: 33b447daaa3adfc04dfbc123538360d998e2d7d7
Parent: 9693a366c1038ef047507d6d652dfefc5ddec389
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-07-13 15:37:08
Tree: 6993bdb365d59bb1d68d1ca7cfcab082e8cda964

audio: Fix possible crash when removing device Currently it is not possible to cancel avdtp_discover procedure leading to crashe if the device is removed while avdtp_discover is pending since its callback is still reachable.

Diffstat

M profiles/audio/a2dp.c | 57 ++++++++++++++++++++++++++++++++++++++++- -
M profiles/audio/a2dp.h | 6 ++++++
M profiles/audio/avdtp.c | 7 +++++++
M profiles/audio/sink.c | 4 +++-
M profiles/audio/source.c | 4 +++-

5 files changed, 74 insertions(+), 4 deletions(-)

View Full Diff | Patch