aboutsummaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index d624b464..821ecba4 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1035,7 +1035,7 @@ void device_remove(struct btd_device *device, gboolean remove_stored)
g_slist_free(device->drivers);
device->drivers = NULL;
- attrib_client_unregister(device);
+ attrib_client_unregister(device->services);
btd_device_unref(device);
}