Searched refs:newWantData (Results 1 – 1 of 1) sorted by relevance
157 void *newWantData = AdapterMalloc(tlv->totalLen + want->dataLength); in UpdateWantData() local158 if (newWantData == nullptr) { in UpdateWantData()161 if (memcpy_s(newWantData, want->dataLength, want->data, want->dataLength) != 0 || in UpdateWantData()162 …memcpy_s((unsigned char*)newWantData + want->dataLength, tlv->totalLen, tlv->entity, tlv->totalLen… in UpdateWantData()163 AdapterFree(newWantData); in UpdateWantData()166 SetWantData(want, newWantData, tlv->totalLen + want->dataLength); in UpdateWantData()167 AdapterFree(newWantData); in UpdateWantData()