Did you find any system that this happens? According to the POSIX man page:
"Upon successful return of getaddrinfo(), the location to which res points shall refer to a linked list of addrinfo structures [...]"
And according to OpenBSD man page: "Memory allocated for the dynamically allocated structures created by a successful call to getaddrinfo() is released by the freeaddrinfo() function."