Move freeaddrinfo() to inside of our loop; this prevents a memory leak
authorKen Hornstein <kenh@pobox.com>
Fri, 16 Jan 2009 15:48:09 +0000 (15:48 +0000)
committerKen Hornstein <kenh@pobox.com>
Fri, 16 Jan 2009 15:48:09 +0000 (15:48 +0000)
commitd6ed7408ae67cf31b31a8c42515a160f7dc6330a
tree65086450697d9c06a04d6868fff6d891e56e891a
parent7b98850d3b8b2453b473fdfb6db52f4aa3fe39b6
Move freeaddrinfo() to inside of our loop; this prevents a memory leak
and also prevents it from being called with a NULL pointer.
sbr/client.c