Inside the g_dbus_send_message() we are already doing the D-BUS message unref. --- src/agent.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/agent.c b/src/agent.c index 363630e..8e3721c 100644 --- a/src/agent.c +++ b/src/agent.c @@ -692,7 +692,6 @@ int agent_display_passkey(struct agent *agent, struct btd_device *device, if (!g_dbus_send_message(connection, message)) { error("D-Bus send failed"); - dbus_message_unref(message); return -1; } -- 1.7.4.1 -- 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