Debug the Call audio connection 69/67869/2 accepted/tizen/common/20160429.170434 accepted/tizen/ivi/20160501.122232 accepted/tizen/mobile/20160501.121045 accepted/tizen/wearable/20160501.121616 submit/tizen/20160429.020017
authorHyuk Lee <hyuk0512.lee@samsung.com>
Fri, 29 Apr 2016 01:16:59 +0000 (10:16 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Fri, 29 Apr 2016 01:27:28 +0000 (10:27 +0900)
Change-Id: I60632d763766ca4cf9c11f0c303295f53ae80fb1
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
ag-agent/bluetooth-ag-agent.c

index 4696ed0..74b80fd 100755 (executable)
@@ -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;