Diff between df0dfc268ac5f75a6006cc6f7bd881829b4aae64 and 051edc22b224e12f9de45b493f8b1fd204b7875b
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +2 | -0 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index 5ce5f4d..fb29339 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -710,6 +710,8 @@ static void destroy_device(void *data)
queue_destroy(dev->pending_requests, destroy_pending_request);
queue_destroy(dev->autoconnect_apps, NULL);
+ bt_auto_connect_remove(&dev->bdaddr);
+
free(dev);
}