ares_free_hostent(3) - Linux man page
Name
ares_free_hostent - Free host structure allocated by ares functionsSynopsis
#include <ares.h>void ares_free_hostent(struct hostent *host)
Description
Notes
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.See Also
ares_parse_a_reply(3), ares_parse_aaaa_reply(3), ares_parse_ptr_reply(3), ares_parse_ns_reply(3)Author
Greg Hudson, MIT Information SystemsCopyright 1998 by the Massachusetts Institute of Technology.