From 58f839f3b0f58ec2961bd55f8b05ef6aca53598b Mon Sep 17 00:00:00 2001 From: Atul Rai Date: Thu, 12 Apr 2018 17:16:12 +0530 Subject: [PATCH] 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 --- ag-agent/bluetooth-ag-agent.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.7.4