diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx index e59704e..a1d3737 100644 --- a/common/network/TcpSocket.cxx +++ b/common/network/TcpSocket.cxx @@ -610,6 +610,8 @@ void network::createTcpListeners(std::list *listeners, freeaddrinfo(ai); throw; } + + freeaddrinfo(ai); } void network::createTcpListeners(std::list *listeners,