summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.i
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-08-25 21:19:53 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-08-25 21:19:53 +0000
commit8184e9937e966eeb2172dcaf414f267bd130b406 (patch)
tree2e407eda7b71b7e2d1b25fed6db116582679336f /TAO/tao/Stub.i
parentae8795c0c55319b51fc739a166398b3d55021067 (diff)
downloadATCD-8184e9937e966eeb2172dcaf414f267bd130b406.tar.gz
ChangeLogTag:Wed Aug 25 16:17:24 1999 Ossama Othman <othman@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r--TAO/tao/Stub.i9
1 files changed, 7 insertions, 2 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i
index e0d9bde1c77..f7f1537d972 100644
--- a/TAO/tao/Stub.i
+++ b/TAO/tao/Stub.i
@@ -134,8 +134,13 @@ TAO_Stub::use_locate_requests (CORBA::Boolean use_it)
ACE_INLINE TAO_MProfile *
TAO_Stub::make_profiles (void)
{
- // @@ Shouldn't we use ACE_NEW_RETURN here?
- return new TAO_MProfile (base_profiles_);
+ TAO_MProfile *mp = 0;
+
+ ACE_NEW_RETURN (mp,
+ TAO_MProfile (base_profiles_),
+ 0);
+
+ return mp;
}
ACE_INLINE TAO_Profile *