From 8c27052bb27d196524b0c11719b4a6ca2cb96f95 Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Fri, 29 Apr 2016 10:16:59 +0900 Subject: [PATCH] Debug the Call audio connection Change-Id: I60632d763766ca4cf9c11f0c303295f53ae80fb1 Signed-off-by: Hyuk Lee --- ag-agent/bluetooth-ag-agent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ag-agent/bluetooth-ag-agent.c b/ag-agent/bluetooth-ag-agent.c index 4696ed0..74b80fd 100755 --- a/ag-agent/bluetooth-ag-agent.c +++ b/ag-agent/bluetooth-ag-agent.c @@ -3010,7 +3010,9 @@ static void __bt_ag_agent_method(GDBusConnection *connection, if (ret) goto fail; - DBG("Address = %s\n", address); + g_free(local_addr); + local_addr = g_strdup(address); + DBG("Address = %s\n", local_addr); g_dbus_method_invocation_return_value(invocation, NULL); } else if (g_strcmp0(method_name, "UnregisterApplication") == 0) { gchar *path = NULL; -- 2.7.4