Lines Matching defs:newlist
166 struct nwam_wlan_info **newlist = NULL;
172 if ((newlist = realloc(list,
174 (newlist[num_wlans - 1] = calloc(1,
176 if (newlist != NULL)
177 free(newlist);
182 wil->list = newlist;
186 &((newlist[num_wlans - 1])->wlan_name))) != NWAM_SUCCESS ||
190 &((newlist[num_wlans - 1])->wlan_priority))) != NWAM_SUCCESS) {
191 free(newlist[num_wlans - 1]->wlan_name);
193 free(newlist[num_wlans - 1]);
198 (newlist[num_wlans - 1])->wlan_walked = B_FALSE;