summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-05 02:20:44 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-05 02:20:44 +0000
commit2a1a100e5808b995c670f20aa475f5cd1edb34c5 (patch)
treeb4650c3980389e9bb33d6adbda32d336db9896d6
parent6afc2d24f2cffa422a74055424f96de2a0f52760 (diff)
downloadATCD-2a1a100e5808b995c670f20aa475f5cd1edb34c5.tar.gz
Carlos' bug fix.
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp6
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);