summaryrefslogtreecommitdiff
path: root/TAO/tao/Connector_Registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r--TAO/tao/Connector_Registry.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index 78e69d87b82..1a89726d964 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -1,8 +1,8 @@
// This may look like C, but it's really -*- C++ -*-
// $Id$
-#include "tao/Connector_Registry.h"
#include "tao/ORB_Core.h"
+#include "tao/Connector_Registry.h"
#include "tao/Profile.h"
#include "tao/Environment.h"
#include "tao/debug.h"
@@ -146,11 +146,6 @@ TAO_Connector_Registry::preconnect (TAO_ORB_Core *orb_core,
(*connector)->preconnect (i->c_str ());
}
- // No longer need the preconnect set since all associated
- // preconnections have been opened by now. Reclaim the memory used
- // by the preconnect set.
- preconnections.reset ();
-
return 0; // Success
}
@@ -351,8 +346,7 @@ TAO_Connector_Registry::create_profile (TAO_InputCDR &cdr)
TAO_Profile *pfile = 0;
ACE_NEW_RETURN (pfile,
- TAO_Unknown_Profile (tag,
- cdr.orb_core ()),
+ TAO_Unknown_Profile (tag),
0);
if (pfile->decode (cdr) == -1)
{