diff options
Diffstat (limited to 'deps')
-rw-r--r-- | deps/hiredis/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/hiredis/net.c b/deps/hiredis/net.c index 9fe80bba7..bdb84ceed 100644 --- a/deps/hiredis/net.c +++ b/deps/hiredis/net.c @@ -300,6 +300,7 @@ static int _redisContextConnectTcp(redisContext *c, const char *addr, int port, break; } } + freeaddrinfo(bservinfo); if (!bound) { char buf[128]; snprintf(buf,sizeof(buf),"Can't bind socket: %s",strerror(errno)); |