--- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index 3b44d9b..2c40ec2 100644 --- a/src/device.c +++ b/src/device.c @@ -2027,7 +2027,7 @@ static gboolean att_connect(gpointer user_data) return FALSE; } - device->att_io = io; + device->att_io = g_io_channel_ref(io); return FALSE; } -- 1.7.11.4 -- 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