summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-02-16 13:20:01 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-02-16 13:20:01 +0000
commit1c12ae969d74d48bbc54b6006d4e102d7ba2f9d5 (patch)
treead4f7fd74eea1b9b98c5cd451a83785b4cd61423 /cpp/src
parentFixed outgoing connection factory bug + added mono check for kernel32.dll (diff)
downloadice-1c12ae969d74d48bbc54b6006d4e102d7ba2f9d5.tar.bz2
ice-1c12ae969d74d48bbc54b6006d4e102d7ba2f9d5.tar.xz
ice-1c12ae969d74d48bbc54b6006d4e102d7ba2f9d5.zip
Fixed bug in outgoing connection factory
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ConnectionFactory.cpp1
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();