Fix getaddrinfo() memory leak

See antirez/redis#2012 for the leak causing unbounded memory growth.
Merge pull request #274 from mattsta/fix-memory-leak

Fix getaddrinfo() memory leak
Merge branch 'master' of https://github.com/redis/hiredis