Home
last modified time | relevance | path

Searched refs:new_array2 (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctputil.c1236 uint8_t *new_array1, *new_array2; in sctp_expand_mapping_array() local
1241 SCTP_MALLOC(new_array2, uint8_t *, new_size, SCTP_M_MAP); in sctp_expand_mapping_array()
1242 if ((new_array1 == NULL) || (new_array2 == NULL)) { in sctp_expand_mapping_array()
1248 if (new_array2) { in sctp_expand_mapping_array()
1249 SCTP_FREE(new_array2, SCTP_M_MAP); in sctp_expand_mapping_array()
1254 memset(new_array2, 0, new_size); in sctp_expand_mapping_array()
1256 memcpy(new_array2, asoc->nr_mapping_array, asoc->mapping_array_size); in sctp_expand_mapping_array()
1260 asoc->nr_mapping_array = new_array2; in sctp_expand_mapping_array()