Diff between 058ce45961f16f2d6dde434d3354a1e4dc9ced92 and 1ec0a0ca05064bee1a8a2d07b7ec695353947346
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +3 | -3 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index bfa43d3..75a80a5 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -2127,15 +2127,15 @@ void bt_gatt_unregister(void)
{
DBG("");
- queue_destroy(gatt_clients, free);
-
ipc_unregister(hal_ipc, HAL_SERVICE_ID_GATT);
hal_ipc = NULL;
+ queue_destroy(gatt_clients, destroy_gatt_client);
+ gatt_clients = NULL;
+
queue_destroy(conn_list, destroy_device);
conn_list = NULL;
queue_destroy(conn_wait_queue, destroy_device);
conn_wait_queue = NULL;
-
}