summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
index 0c5357eacb9..e96619bcf75 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp
@@ -49,12 +49,13 @@ TAO_Offer_Iterator::destroy (CORBA::Environment &)
TAO_CHECK_ENV;
poa->deactivate_object (id.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
}
TAO_CATCHANY
{
}
TAO_ENDTRY;
+
+ delete this;
}
// *************************************************************
@@ -241,6 +242,8 @@ TAO_Offer_Iterator_Collection::destroy (CORBA::Environment& TAO_IN_ENV)
{
}
TAO_ENDTRY;
+
+ delete this;
}
CORBA::ULong
@@ -302,18 +305,19 @@ TAO_Offer_Id_Iterator::destroy (CORBA::Environment &)
TAO_CHECK_ENV;
poa->deactivate_object (id.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
}
TAO_CATCHANY
{
}
TAO_ENDTRY;
+
+ delete this;
}
CORBA::Boolean
TAO_Offer_Id_Iterator::next_n (CORBA::ULong n,
- CosTrading::OfferIdSeq_out _ids,
- CORBA::Environment &)
+ CosTrading::OfferIdSeq_out _ids,
+ CORBA::Environment &)
TAO_THROW_SPEC ((CORBA::SystemException))
{
// Calculate the number of Ids to be returned in this.