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

(cherry picked from commit 09fb03bf23479f6499588a13185769777a7d4c33)

Conflicts:
	libcfnet/communication.c