Diff between cb85f71b0dfd508947d3756626cd1d44add38884 and c731508e2c3b9eab2da2293f32931f02d880ad3f

Changed Files

File Additions Deletions Status
src/device.c +3 -0 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 40fd826..2aa0295 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3129,6 +3129,9 @@ void device_remove_connection(struct btd_device *device, uint8_t bdaddr_type)
 
 	device_update_last_seen(device, bdaddr_type);
 
+	g_slist_free_full(device->eir_uuids, g_free);
+	device->eir_uuids = NULL;
+
 	g_dbus_emit_property_changed(dbus_conn, device->path,
 						DEVICE_INTERFACE, "Connected");