Diff between 6d8d1a59bc2b3012216c53624d1689822b4f21e1 and 9052edc5910d55ad2f693cfb9b405003a7d4032a
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index c05aa6c..e30af0a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2574,7 +2574,7 @@ static void device_remove_profiles(struct btd_device *device, GSList *uuids)
DBG("Removing profiles for %s", dstaddr);
- g_slist_free(device->uuids);
+ g_slist_free_full(device->uuids, g_free);
device->uuids = NULL;
store_device_info(device);