void ares_free_hostent(struct hostent *host)
It is not necessary (and is not correct) to free the host structure passed to the callback functions for ares_gethostbyname(3) or ares_gethostbyaddr(3). c-ares will automatically free such host structures when the callback returns.
Greg Hudson, MIT Information Systems
Copyright 1998 by the Massachusetts Institute of Technology.
This HTML page was made with roffit.