--- src/device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/device.c b/src/device.c index 4320234..8c1bd73 100644 --- a/src/device.c +++ b/src/device.c @@ -987,6 +987,8 @@ void device_request_disconnect(struct btd_device *device, DBusMessage *msg) if (device->browse) browse_request_cancel(device->browse); + attio_cleanup(device); + if (device->connect) { DBusMessage *reply = btd_error_failed(device->connect, "Cancelled"); -- 1.8.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html