diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-03-16 11:28:49 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-03-16 11:28:49 +0000 |
commit | 8a7745876a23807fb92a62319c942cbe54111d5f (patch) | |
tree | 5fc95693b47c12dfc694c0c2a01a89fcce24c76b | |
parent | a5685648816e1bdcb6a9c0cb1149d5bb06e2e5d6 (diff) | |
download | ATCD-8a7745876a23807fb92a62319c942cbe54111d5f.tar.gz |
ChangeLogTag: Wed Mar 15 13:24:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tests/POA/Persistent_ID/server.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tests/POA/Persistent_ID/server.cpp b/TAO/tests/POA/Persistent_ID/server.cpp index 8ae27f21412..15f8272c1a9 100644 --- a/TAO/tests/POA/Persistent_ID/server.cpp +++ b/TAO/tests/POA/Persistent_ID/server.cpp @@ -130,6 +130,15 @@ test_i::create_POA (ACE_ENV_SINGLE_ARG_DECL) ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (test::_nil ()); + // Destroy the policies + for (CORBA::ULong i = 0; + i < policies.length (); + ++i) + { + policies[i]->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_CHECK; + } + test_i *servant = new test_i (this->orb_.in (), this->child_poa_.in ()); |