- ci = nmem_malloc(nc->nmem, sizeof(*ci));
- ci->next = nc->items;
- nc->items = ci;
- ci->nt = nt;
- ci->spec = nmem_strdup(nc->nmem, spec);
+ nt = normalize_record_create(service, spec);
+ if (nt)
+ {
+ ci = nmem_malloc(nc->nmem, sizeof(*ci));
+ ci->next = nc->items;
+ nc->items = ci;
+ ci->nt = nt;
+ ci->spec = nmem_strdup(nc->nmem, spec);
+ }