bluez5: backend-hsphfpd: Fix crash when switching profile to HFP

This commit is contained in:
Frédéric Danis 2020-08-25 16:43:03 +02:00
parent 0720eb2aeb
commit d607a461ce

View file

@ -811,6 +811,8 @@ static void hsphfpd_audio_acquire_reply(DBusPendingCall *pending, void *user_dat
const char *agent_path; const char *agent_path;
DBusError error; DBusError error;
dbus_error_init(&error);
backend->acquire_in_progress = false; backend->acquire_in_progress = false;
r = dbus_pending_call_steal_reply(pending); r = dbus_pending_call_steal_reply(pending);