diff options
author | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-16 18:47:52 +0000 |
---|---|---|
committer | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-16 18:47:52 +0000 |
commit | 2b994b55cf8ba3eb17c2d17c34afc6d73f7a5429 (patch) | |
tree | 3beb49fd882143f32bf158e749aefbfbf020c66f /TAO | |
parent | 41905f859ce550875bf6fc0b8cb0ad3c1f8ea56e (diff) | |
download | ATCD-2b994b55cf8ba3eb17c2d17c34afc6d73f7a5429.tar.gz |
ChangeLogTag: Tue Jan 16 18:39:17 UTC 2007 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp | 10 |
2 files changed, 17 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 18097458a56..41639949f99 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,5 +1,14 @@ +Tue Jan 16 18:39:17 UTC 2007 Iliyan Jeliazkov <iliyan@ociweb.com> + + * tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp: + + Ensured request interceptors are heap allocated to avoid + problems trying to delete automatic instances when the ORB is + destroyed. + Tue Jan 16 17:13:13 UTC 2007 Iliyan Jeliazkov <iliyan@ociweb.com> + * tao/Transport.h: * tao/Transport.cpp: Added initialization for the stats_ member in case the TC diff --git a/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp b/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp index cce444d8662..a35ca98ed51 100644 --- a/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp +++ b/TAO/tests/TransportCurrent/IIOP/IIOP_Server_Main.cpp @@ -18,6 +18,12 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { - Test::IIOP_Server_Request_Interceptor cri ("test_orb", test_transport_current); - return server_main (argc, argv, &cri); + Test::IIOP_Server_Request_Interceptor* cri = 0; + ACE_NEW_RETURN (cri, + Test::IIOP_Server_Request_Interceptor ("test_orb", + test_transport_current), + -1); + PortableInterceptor::ServerRequestInterceptor_var cri_safe (cri); + + return server_main (argc, argv, cri); } |