Searched refs:new_elt (Results 1 – 1 of 1) sorted by relevance
513 map_id_elt_t *new_elt; in insert_map_in_list() local523 new_elt = (map_id_elt_t *)calloc(1, sizeof (map_id_elt_t)); in insert_map_in_list()524 if (new_elt == NULL) { in insert_map_in_list()527 new_elt->map_name = strdup(map_name); in insert_map_in_list()528 if (new_elt->map_name == NULL) { /* strdup() failed */ in insert_map_in_list()529 sfree(new_elt); in insert_map_in_list()532 new_elt->map_id = unique_value; in insert_map_in_list()535 new_elt->next = NULL; in insert_map_in_list()537 new_elt->next = map_id_list[index]; in insert_map_in_list()540 map_id_list[index] = new_elt; in insert_map_in_list()