diff options
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r-- | TAO/tao/Stub.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp index a5e59fd929e..6cb5e4e2d38 100644 --- a/TAO/tao/Stub.cpp +++ b/TAO/tao/Stub.cpp @@ -261,6 +261,9 @@ TAO_Stub::get_profile_ior_info (TAO_MProfile &profiles, IOP::TaggedProfile *tp = prof->create_tagged_profile (); + if (tp == 0) + ACE_THROW_RETURN (CORBA::NO_MEMORY (), + -1); ior_info->profiles[index] = *tp; } |