Searched refs:new_array2 (Results 1 – 1 of 1) sorted by relevance
1236 uint8_t *new_array1, *new_array2; in sctp_expand_mapping_array() local1241 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()