summaryrefslogtreecommitdiff
path: root/TAO/tao/decode.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-21 19:21:31 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-21 19:21:31 +0000
commitbc20ce971235dfa09ed849d92bb51d5928a8be66 (patch)
tree0e1cc2bb3316f4bedfc377ed68c89dc8f3d9afec /TAO/tao/decode.cpp
parent8f101f03a5f72294c838c3388638a61a789d0c47 (diff)
downloadATCD-bc20ce971235dfa09ed849d92bb51d5928a8be66.tar.gz
ChangeLogTag:Tue Jul 21 14:19:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/decode.cpp')
-rw-r--r--TAO/tao/decode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tao/decode.cpp b/TAO/tao/decode.cpp
index 290fba2d004..3377da4e171 100644
--- a/TAO/tao/decode.cpp
+++ b/TAO/tao/decode.cpp
@@ -178,7 +178,6 @@ TAO_Marshal_Any::decode (CORBA::TypeCode_ptr,
{
any->any_owns_data_ = 1;
any->value_ = 0;
- elem_tc->_incr_refcnt ();
any->type_ = elem_tc;
// now skip the value
// retval = stream->skip (elem_tc, env);
@@ -694,7 +693,7 @@ TAO_Marshal_ObjRef::decode (CORBA::TypeCode_ptr,
// the corba proxy would have already incremented the reference count on
// the objdata. So we decrement it here by 1 so that the objdata is now
// fully owned by the corba_proxy that was created.
- objdata->_decr_refcnt ();
+ // objdata->_decr_refcnt ();
}
if (retval == CORBA::TypeCode::TRAVERSE_CONTINUE
&& continue_decoding == CORBA::B_TRUE)