Searched refs:apbuf (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/Win32/Src/
H A Dgetaddrinfo.c529 char **aplist = NULL, *apbuf = NULL; local
617 apbuf = (char *)malloc(hp->h_length * naddrs);
618 if (aplist == NULL || apbuf == NULL) {
628 memcpy(&apbuf[i * hp->h_length], hp->h_addr_list[i],
630 aplist[i] = &apbuf[i * hp->h_length];
681 if (apbuf)
682 free(apbuf);

Completed in 44 milliseconds