Searched refs:newIf (Results 1 – 1 of 1) sorted by relevance
442 pcap_if_t *newIf = NULL; in TcCreatePcapIfFromPort() local444 newIf = (pcap_if_t*)malloc(sizeof(*newIf)); in TcCreatePcapIfFromPort()445 if (newIf == NULL) in TcCreatePcapIfFromPort()450 memset(newIf, 0, sizeof(*newIf)); in TcCreatePcapIfFromPort()456 if (newIf->name == NULL) in TcCreatePcapIfFromPort()458 free(newIf); in TcCreatePcapIfFromPort()465 free(newIf->name); in TcCreatePcapIfFromPort()466 free(newIf); in TcCreatePcapIfFromPort()474 newIf->next = NULL; in TcCreatePcapIfFromPort()475 newIf->flags = 0; in TcCreatePcapIfFromPort()[all …]