Audit getaddrinfo() uses for proper freeing, redmine #6539.