diff options
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ConnectionFactory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp index 0b078efe293..d2566391d12 100644 --- a/cpp/src/Ice/ConnectionFactory.cpp +++ b/cpp/src/Ice/ConnectionFactory.cpp @@ -300,6 +300,7 @@ IceInternal::OutgoingConnectionFactory::create(const vector<EndpointPtr>& endpts catch(const LocalException& ex) { exception = auto_ptr<LocalException>(dynamic_cast<LocalException*>(ex.ice_clone())); + connection = 0; // Necessary for the case where validate() fails. } TraceLevelsPtr traceLevels = _instance->traceLevels(); |