Loading system/bta/gatt/bta_gattc_act.cc +3 −1 Original line number Diff line number Diff line Loading @@ -972,7 +972,9 @@ void bta_gattc_disc_cmpl(tBTA_GATTC_CLCB* p_clcb, * want to free the underlying buffer that's being * referenced by p_clcb->p_q_cmd */ if (p_q_cmd != p_clcb->p_q_cmd) osi_free_and_reset((void**)&p_q_cmd); if (!bta_gattc_is_data_queued(p_clcb, p_q_cmd)) { osi_free_and_reset((void**)&p_q_cmd); } } else { bta_gattc_continue(p_clcb); } Loading Loading
system/bta/gatt/bta_gattc_act.cc +3 −1 Original line number Diff line number Diff line Loading @@ -972,7 +972,9 @@ void bta_gattc_disc_cmpl(tBTA_GATTC_CLCB* p_clcb, * want to free the underlying buffer that's being * referenced by p_clcb->p_q_cmd */ if (p_q_cmd != p_clcb->p_q_cmd) osi_free_and_reset((void**)&p_q_cmd); if (!bta_gattc_is_data_queued(p_clcb, p_q_cmd)) { osi_free_and_reset((void**)&p_q_cmd); } } else { bta_gattc_continue(p_clcb); } Loading