Loading system/btif/src/stack_manager.cc +1 −1 Original line number Diff line number Diff line Loading @@ -371,8 +371,8 @@ static void event_shut_down_stack(ProfileStopCallback stopProfiles) { future_await(local_hack_future); gatt_free(); l2c_free(); sdp_free(); l2c_free(); get_btm_client_interface().lifecycle.btm_ble_free(); get_btm_client_interface().lifecycle.btm_free(); Loading system/stack/sdp/sdp_main.cc +2 −0 Original line number Diff line number Diff line Loading @@ -100,10 +100,12 @@ void sdp_init(void) { } void sdp_free(void) { L2CA_Deregister(BT_PSM_SDP); for (int i = 0; i < SDP_MAX_CONNECTIONS; i++) { alarm_free(sdp_cb.ccb[i].sdp_conn_timer); sdp_cb.ccb[i].sdp_conn_timer = NULL; } sdp_cb = {}; } /******************************************************************************* Loading Loading
system/btif/src/stack_manager.cc +1 −1 Original line number Diff line number Diff line Loading @@ -371,8 +371,8 @@ static void event_shut_down_stack(ProfileStopCallback stopProfiles) { future_await(local_hack_future); gatt_free(); l2c_free(); sdp_free(); l2c_free(); get_btm_client_interface().lifecycle.btm_ble_free(); get_btm_client_interface().lifecycle.btm_free(); Loading
system/stack/sdp/sdp_main.cc +2 −0 Original line number Diff line number Diff line Loading @@ -100,10 +100,12 @@ void sdp_init(void) { } void sdp_free(void) { L2CA_Deregister(BT_PSM_SDP); for (int i = 0; i < SDP_MAX_CONNECTIONS; i++) { alarm_free(sdp_cb.ccb[i].sdp_conn_timer); sdp_cb.ccb[i].sdp_conn_timer = NULL; } sdp_cb = {}; } /******************************************************************************* Loading