Diff between 84c336f2bd7aec174b516615c1bb521c57b1c5e0 and aba67693b934a0e67e7ab11538d43d1c3c838a3b
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/bap.c | +3 | -0 | modified |
Full Patch
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index cbc3c33..bc67c1e 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -3768,6 +3768,9 @@ static int bap_disconnect(struct btd_service *service)
queue_remove_all(data->snks, ep_remove, NULL, NULL);
queue_remove_all(data->srcs, ep_remove, NULL, NULL);
+ queue_destroy(data->server_streams, NULL);
+ data->server_streams = NULL;
+
bt_bap_detach(data->bap);
btd_service_disconnecting_complete(service, 0);