diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-05 02:20:44 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-05 02:20:44 +0000 |
commit | 081a839023ad43b9fd0eff95e364188118a08943 (patch) | |
tree | b4650c3980389e9bb33d6adbda32d336db9896d6 /TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp | |
parent | 768cad89d0517b3932c690b6bef4f10625a1c15a (diff) | |
download | ATCD-081a839023ad43b9fd0eff95e364188118a08943.tar.gz |
Carlos' bug fix.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp index 6ed222db830..5a5709a7205 100644 --- a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp @@ -1298,8 +1298,7 @@ ACE_ES_Consumer_Module::push (const ACE_ES_Dispatch_Request *request, RtecEventChannelAdmin::ProxyPushSupplier_ptr ACE_ES_Consumer_Module::obtain_push_supplier (CORBA::Environment &_env) { - auto_ptr<ACE_Push_Consumer_Proxy> new_consumer = - new ACE_Push_Consumer_Proxy (this); + auto_ptr<ACE_Push_Consumer_Proxy> new_consumer (new ACE_Push_Consumer_Proxy (this)); // Get a new supplier proxy object. if (new_consumer.get () == 0) @@ -3129,8 +3128,7 @@ ACE_ES_Supplier_Module::shutdown (void) RtecEventChannelAdmin::ProxyPushConsumer_ptr ACE_ES_Supplier_Module::obtain_push_consumer (CORBA::Environment &_env) { - auto_ptr<ACE_Push_Supplier_Proxy> new_supplier = - new ACE_Push_Supplier_Proxy (this); + auto_ptr<ACE_Push_Supplier_Proxy> new_supplier (new ACE_Push_Supplier_Proxy (this)); if (new_supplier.get () == 0) TAO_THROW_RETURN (CORBA::NO_MEMORY (CORBA::COMPLETED_NO), 0); |