Diff between fc65a8cff69ed45b741eeb62857e1598c15fdca1 and 563ccacc9eb9311d191abf2c63949322e49d0b6b
Changed Files
| File | Additions | Deletions | Status |
| android/scpp.c | +1 | -2 | modified |
Full Patch
diff --git a/android/scpp.c b/android/scpp.c
index b831680..9d8bb10 100644
--- a/android/scpp.c
+++ b/android/scpp.c
@@ -62,8 +62,7 @@ struct bt_scpp {
static void scpp_free(struct bt_scpp *scan)
{
- if (scan->attrib)
- g_attrib_unref(scan->attrib);
+ bt_scpp_detach(scan);
g_free(scan->primary);
g_free(scan);