From b7d4f5ea52125b17aa8e4a70137b268ce211258d Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 16 Mar 2017 19:28:06 +0900 Subject: [PATCH] Fix the crash issue during LE discovery Change-Id: Ifcb0d41a63b50949e62ab5ec5be20d4734851f73 Signed-off-by: DoHyun Pyun --- src/bluetooth-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c index 56a80f7..42c1b53 100644 --- a/src/bluetooth-common.c +++ b/src/bluetooth-common.c @@ -2961,7 +2961,6 @@ static void __bt_le_event_proxy(int event, bluetooth_event_param_t *param, void if (__bt_get_bt_adapter_le_device_scan_info_s(&scan_info, (bluetooth_le_device_info_t *)(param->param_data)) == BT_ERROR_NONE) { ((bt_adapter_le_scan_result_cb)bt_event_slot_container[event_index].callback) (_bt_get_error_code(param->result), scan_info, bt_event_slot_container[event_index].user_data); - __bt_free_bt_adapter_le_device_scan_info_s(scan_info); } else { ((bt_adapter_le_scan_result_cb)bt_event_slot_container[event_index].callback) (_bt_get_error_code(param->result), NULL, bt_event_slot_container[event_index].user_data); -- 2.7.4