From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 414849a..c180e09 100644 --- a/src/main.c +++ b/src/main.c @@ -383,7 +383,7 @@ static void disconnect_dbus(void) set_dbus_connection(NULL); - dbus_connection_unref(conn); + g_dbus_disconnect(conn); } static void disconnected_dbus(DBusConnection *conn, void *data) -- 1.7.11.7 -- 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