Merge "Don't call freeaddrinfo with a NULL ptr."