That is how the structure hostent is declared. Now, if I do this:Code:struct hostent {
char FAR * h_name;
char FAR * FAR * h_aliases;
short h_addrtype;
short h_length;
char FAR * FAR * h_addr_list;
};
are the three pointers (h_name, h_aliases, h_addr_list) freed also?Code:struct hostent *winfo = NULL;
....
some code that puts info into winfo
....
free(winfo)
thanks,
spoon_