a2dp: Fix crash if setup is freed while reconfiguring
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 30 Nov 2020 19:16:11 +0000 (11:16 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit8c66e53fd1678df47a5623c6adb18b5d7a4ebcd3
tree74c6f6858bd3f14794206dfac2e3ba12492f04bb
parentde9ce3e0df902036732d40f67ae394996c68b13c
a2dp: Fix crash if setup is freed while reconfiguring

This fixes the crash reported on:

https://github.com/bluez/bluez/issues/60
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/a2dp.c