summaryrefslogtreecommitdiff
path: root/TAO/tests/POA
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-04-24 13:11:47 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-04-24 13:11:47 +0000
commit1c72bcfb1103d4f69dae7087156c7daf0f7b7ef9 (patch)
treea1cecef9d2e524e624e8772aa3422b1d0ba21187 /TAO/tests/POA
parente0b496eb82228fcbbe01e981c66c5a168c2f5834 (diff)
downloadATCD-1c72bcfb1103d4f69dae7087156c7daf0f7b7ef9.tar.gz
Tue Apr 24 13:05:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/POA')
-rw-r--r--TAO/tests/POA/Policies/Policies.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tests/POA/Policies/Policies.cpp b/TAO/tests/POA/Policies/Policies.cpp
index 1aa17eabfcd..94d9fdba2c8 100644
--- a/TAO/tests/POA/Policies/Policies.cpp
+++ b/TAO/tests/POA/Policies/Policies.cpp
@@ -32,10 +32,7 @@ main (int argc, char **argv)
try
{
// Initialize the ORB first.
- CORBA::ORB_var orb =
- CORBA::ORB_init (argc,
- argv,
- 0);
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
// Obtain the RootPOA.
CORBA::Object_var obj =
@@ -178,10 +175,11 @@ main (int argc, char **argv)
#endif /* TAO_HAS_MINIMUM_POA == 0 */
+ orb->destroy ();
+
ACE_DEBUG ((LM_DEBUG,
"%s successful\n",
argv[0]));
-
}
catch (const CORBA::Exception& ex)
{