Commit: 01aa5f577448239a62d8181aff04d208215a48d9
Parent: f081d05ffe5bc8bc72634bf4f9e92373165fe22c
Author: Hsin-Yu Chao <hychao@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-03-08 13:08:11
Tree: 9778ff4eec679b5c0cbc62232ba785863def4913

audio/media: Fix crash at endpoint handling no reply When handling DBUS_ERROR_NO_REPLY error in media endpoint, the a2dp_setup gets unref'ed in the associated request callback when it's called for the first time. A crash happens in the later clear_endpoint call with below backtrace that, the request callback will be triggered again with NULL session. To fix this, remove the additional request callback so that every callback only gets triggered for once in clear_endpoint.

Diffstat

M profiles/audio/media.c | 3 - - -

1 files changed, 0 insertions(+), 3 deletions(-)

View Full Diff | Patch