summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/binding/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/binding/AllTests.cpp')
-rw-r--r--cpp/test/Ice/binding/AllTests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp
index 2e98bcb7bed..0ab430667c5 100644
--- a/cpp/test/Ice/binding/AllTests.cpp
+++ b/cpp/test/Ice/binding/AllTests.cpp
@@ -869,6 +869,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
catch(const Ice::DNSException&)
{
+ serverCommunicator->destroy();
continue; // IP version not supported.
}
catch(const Ice::SocketException&)
@@ -877,6 +878,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
{
ipv6NotSupported = true;
}
+ serverCommunicator->destroy();
continue; // IP version not supported.
}
@@ -912,7 +914,6 @@ allTests(const Ice::CommunicatorPtr& communicator)
(*p == anyipv4 && *q == ipv6) || (*p == anyipv6 && *q == ipv4) ||
(*p == anyboth && *q == ipv4 && !dualStack) ||
(*p == localipv4 && *q == ipv6) || (*p == localipv6 && *q == ipv4));
- continue;
}
clientCommunicator->destroy();
}