diff options
author | Frédéric Danis <frederic.danis@collabora.com> | 2020-08-25 16:43:03 +0200 |
---|---|---|
committer | Frédéric Danis <frederic.danis@collabora.com> | 2020-08-25 16:43:03 +0200 |
commit | d607a461ce5987b1f94bc20124df8dcc0999501e (patch) | |
tree | 913fd0cfc2caca8cee33ed84ca6d100ce6da80f8 | |
parent | 0720eb2aebe7f29bcef47886cad12e71bd69a5a9 (diff) |
bluez5: backend-hsphfpd: Fix crash when switching profile to HFP
-rw-r--r-- | spa/plugins/bluez5/backend-hsphfpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spa/plugins/bluez5/backend-hsphfpd.c b/spa/plugins/bluez5/backend-hsphfpd.c index 16be482a..906266b3 100644 --- a/spa/plugins/bluez5/backend-hsphfpd.c +++ b/spa/plugins/bluez5/backend-hsphfpd.c @@ -811,6 +811,8 @@ static void hsphfpd_audio_acquire_reply(DBusPendingCall *pending, void *user_dat const char *agent_path; DBusError error; + dbus_error_init(&error); + backend->acquire_in_progress = false; r = dbus_pending_call_steal_reply(pending); |