From: Atul Rai Date: Thu, 12 Apr 2018 11:46:12 +0000 (+0530) Subject: Fix bluetooth-ag-agent crash [JIRA-TFIVE-1145] X-Git-Tag: accepted/tizen/unified/20180416.213849^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git;a=commitdiff_plain;h=58f839f3b0f58ec2961bd55f8b05ef6aca53598b Fix bluetooth-ag-agent crash [JIRA-TFIVE-1145] This patch removes g_free(path) in __bt_ag_agent_filter_cb to fix double free of path object. Change-Id: I7df6dd639f43bc006e53e4aac8d8d4ae11e94aad Signed-off-by: Atul Rai --- diff --git a/ag-agent/bluetooth-ag-agent.c b/ag-agent/bluetooth-ag-agent.c index ffa595d..099485c 100644 --- a/ag-agent/bluetooth-ag-agent.c +++ b/ag-agent/bluetooth-ag-agent.c @@ -4077,7 +4077,6 @@ static void __bt_ag_agent_filter_cb(GDBusConnection *connection, __bt_ag_agent_unregister(obj_path); } } - g_free(path); if (optional_param) g_variant_unref(optional_param);