Diff between acc4dfbfff2d7b2ffa97010738e530b94241bf46 and c19c7df0e78f50c168b006fc86318025e5692a6d

Changed Files

File Additions Deletions Status
android/a2dp.c +1 -0 modified

Full Patch

diff --git a/android/a2dp.c b/android/a2dp.c
index 572e0d1..0326b19 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -1293,6 +1293,7 @@ static void bt_audio_close(const void *buf, uint16_t len)
 		return;
 	}
 
+	endpoints = g_slist_remove(endpoints, endpoint);
 	unregister_endpoint(endpoint);
 
 	audio_ipc_send_rsp(AUDIO_OP_CLOSE, AUDIO_STATUS_SUCCESS);