Loading system/stack/bnep/bnep_main.c +1 −0 Original line number Diff line number Diff line Loading @@ -575,6 +575,7 @@ static void bnep_data_ind (UINT16 l2cap_cid, BT_HDR *p_buf) p_bcb->con_state != BNEP_STATE_CONNECTED && extension_present && p && rem_len) { osi_free(p_bcb->p_pending_data); p_bcb->p_pending_data = (BT_HDR *)osi_malloc(rem_len + sizeof(BT_HDR)); memcpy((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); p_bcb->p_pending_data->len = rem_len; Loading system/stack/bnep/bnep_utils.c +1 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ void bnepu_release_bcb (tBNEP_CONN *p_bcb) /* Drop any response pointer we may be holding */ p_bcb->con_state = BNEP_STATE_IDLE; osi_free(p_bcb->p_pending_data); p_bcb->p_pending_data = NULL; /* Free transmit queue */ Loading Loading
system/stack/bnep/bnep_main.c +1 −0 Original line number Diff line number Diff line Loading @@ -575,6 +575,7 @@ static void bnep_data_ind (UINT16 l2cap_cid, BT_HDR *p_buf) p_bcb->con_state != BNEP_STATE_CONNECTED && extension_present && p && rem_len) { osi_free(p_bcb->p_pending_data); p_bcb->p_pending_data = (BT_HDR *)osi_malloc(rem_len + sizeof(BT_HDR)); memcpy((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); p_bcb->p_pending_data->len = rem_len; Loading
system/stack/bnep/bnep_utils.c +1 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,7 @@ void bnepu_release_bcb (tBNEP_CONN *p_bcb) /* Drop any response pointer we may be holding */ p_bcb->con_state = BNEP_STATE_IDLE; osi_free(p_bcb->p_pending_data); p_bcb->p_pending_data = NULL; /* Free transmit queue */ Loading