summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-16 09:39:48 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-06-16 09:39:48 +0000
commitf4be62546eb975d617fe29adb9f7c4387c6738d0 (patch)
tree8acc4efb45fd12a6679865c5d338d4cfc2e05ec3 /TAO/tests/CodeSets
parent3b0896ff6193391614a07455bd754018d4f4aa1e (diff)
downloadATCD-f4be62546eb975d617fe29adb9f7c4387c6738d0.tar.gz
Wed Jun 16 09:35:25 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tests/Two_Objects/Object_Factory_i.cpp: * tests/Two_Objects/server.cpp: * tests/Faults/test_i.h: * tests/CallbackTest/Service.cpp: * tests/Portable_Interceptors/Dynamic/server.cpp: * tests/Portable_Interceptors/Dynamic/client.cpp: * tests/Portable_Interceptors/Bug_2510_Regression/server.cpp: * tests/Portable_Interceptors/Bug_2510_Regression/client.cpp: * tests/Portable_Interceptors/Service_Context_Manipulation/server.cpp: * tests/Portable_Interceptors/Service_Context_Manipulation/client.cpp: * tests/Portable_Interceptors/Bug_2133/client.cpp: * tests/Portable_Interceptors/Bug_3080/client.cpp: * tests/Portable_Interceptors/Register_Initial_References/server.cpp: * tests/Portable_Interceptors/Register_Initial_References/Server_ORBInitializer.cpp: * tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp: * tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp: * tests/Portable_Interceptors/Bug_3079/Server_ORBInitializer.cpp: * tests/Portable_Interceptors/Bug_3079/client.cpp: * tests/Portable_Interceptors/Bug_1559/server.cpp: * tests/Portable_Interceptors/Bug_1559/client.cpp: * tests/Portable_Interceptors/Bug_1559/server_interceptor.cpp: * tests/Portable_Interceptors/Bug_1559/server_interceptor.h: * tests/Portable_Interceptors/Redirection/Server_ORBInitializer.cpp: * tests/Portable_Interceptors/Redirection/client.cpp: * tests/Portable_Interceptors/IORInterceptor/client.cpp: * tests/Portable_Interceptors/Collocated/Dynamic/Collocated_Test.cpp: * tests/Portable_Interceptors/ForwardRequest/client.cpp: * tests/CodeSets/simple/server.cpp: * tests/MT_BiDir/Sender_i.cpp: * tests/MT_BiDir/Sender_i.h: Fixed memory leaks local to these tests.
Diffstat (limited to 'TAO/tests/CodeSets')
-rw-r--r--TAO/tests/CodeSets/simple/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/tests/CodeSets/simple/server.cpp b/TAO/tests/CodeSets/simple/server.cpp
index e4861f12313..538f5ac20bd 100644
--- a/TAO/tests/CodeSets/simple/server.cpp
+++ b/TAO/tests/CodeSets/simple/server.cpp
@@ -142,6 +142,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_NEW_RETURN (my_impl,
SimpleImpl (orb.in ()),
-1);
+ PortableServer::ServantBase_var safe (my_impl);
// Create CORBA object for servant and REGISTER with POA
PortableServer::ObjectId_var id =