Make sure res is NULL if getaddrinfo fails.
1 file changed