Diff between 5da4dd8afa208a5c033984828612589ffa1cfb35 and 927ec06fe216b45e222385768f527923e8fd9457
Changed Files
| File | Additions | Deletions | Status |
| plugins/gatt-example.c | +1 | -0 | modified |
Full Patch
diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c
index 5af07ea..701c1d7 100644
--- a/plugins/gatt-example.c
+++ b/plugins/gatt-example.c
@@ -541,6 +541,7 @@ static void gatt_example_adapter_remove(struct btd_adapter *adapter)
return;
gadapter = l->data;
+ adapters = g_slist_remove(adapters, gadapter);
gatt_example_adapter_free(gadapter);
}