Searched refs:newcc (Results 1 – 1 of 1) sorted by relevance
203 struct cc *newcc; in add() local260 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()261 if (newcc == NULL) { in add()265 newcc->rdclass = rdclass; in add()266 strncpy(newcc->classname, classname, sizeof(newcc->classname)); in add()267 newcc->classname[sizeof(newcc->classname) - 1] = '\0'; in add()277 free((char *)newcc); in add()281 newcc->next = cc; in add()283 oldcc->next = newcc; in add()285 classes = newcc; in add()