Searched defs:new_elt (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dmap_ctrl.c513 map_id_elt_t *new_elt; local
523 new_elt = (map_id_elt_t *)calloc(1, sizeof (map_id_elt_t));
524 if (new_elt == NULL) {
527 new_elt->map_name = strdup(map_name);
528 if (new_elt->map_name == NULL) { /* strdup() failed */
529 sfree(new_elt);
532 new_elt->map_id = unique_value;
535 new_elt->next = NULL;
537 new_elt->next = map_id_list[index];
540 map_id_list[index] = new_elt;
[all...]

Completed in 45 milliseconds