summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/Marshal.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/Marshal.i b/TAO/tao/Marshal.i
index fc44da1b79c..c3d0efe6617 100644
--- a/TAO/tao/Marshal.i
+++ b/TAO/tao/Marshal.i
@@ -1,3 +1,4 @@
+//$Id$
ACE_INLINE
TAO_Marshal_Object::TAO_Marshal_Object (void)
{
@@ -259,7 +260,8 @@ TAO_Marshal_ObjRef::deep_free (CORBA::TypeCode_ptr,
const void *,
CORBA::Environment &)
{
- CORBA::release (*(CORBA::Object_ptr *) source);
+ CORBA::Object_ptr obj = *(CORBA::Object_ptr *)source;
+ CORBA::release (obj);
return CORBA::TypeCode::TRAVERSE_CONTINUE;
}