diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1997-08-28 20:13:17 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1997-08-28 20:13:17 +0000 |
commit | dcb10aaffa765f19f11b7d0830ca270c07ebb798 (patch) | |
tree | 85d700f5c9c91531f6b142558590bb0ea89f59e5 /TAO | |
parent | 0b0e0832bd2309f3d7f0aa00b5d5f17f210253e5 (diff) | |
download | ATCD-dcb10aaffa765f19f11b7d0830ca270c07ebb798.tar.gz |
* tests/Cubit/TAO/clnt.cpp (main): Added release of the orb
pointer.
* tao/nvlist.h (CORBA_NamedValue): Initialized refcount_ in the
CTOR.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog-98c | 3 | ||||
-rw-r--r-- | TAO/tao/nvlist.h | 2 | ||||
-rw-r--r-- | TAO/tests/Cubit/TAO/clnt.cpp | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 3a17c14ac6a..5fe7189d30d 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,5 +1,8 @@ Thu Aug 28 14:04:44 1997 Chris Cleeland <cleeland@cs.wustl.edu> + * tests/Cubit/TAO/clnt.cpp (main): Added release of the orb + pointer. + * tao/typecode.cpp (TC_Private_State): Relocated the delete of tc_discriminator_type_ to be after the deletion of the label list. This is because the discriminator will be inside each of the diff --git a/TAO/tao/nvlist.h b/TAO/tao/nvlist.h index a2997563768..c0cd3179c86 100644 --- a/TAO/tao/nvlist.h +++ b/TAO/tao/nvlist.h @@ -57,7 +57,7 @@ private: CORBA::Flags _flags; const CORBA::Char *_FAR _name; - CORBA_NamedValue (void) : _flags (0), _name (0), refcount_(0) { } + CORBA_NamedValue (void) : refcount_(0), _flags (0), _name (0) { } friend class CORBA_NVList; friend class CORBA_Request; diff --git a/TAO/tests/Cubit/TAO/clnt.cpp b/TAO/tests/Cubit/TAO/clnt.cpp index 5a27f2977d3..fe2f410295c 100644 --- a/TAO/tests/Cubit/TAO/clnt.cpp +++ b/TAO/tests/Cubit/TAO/clnt.cpp @@ -496,6 +496,7 @@ main (int argc, char *argv[]) } CORBA::release (objref); + CORBA::release (orb_ptr); return (error_count == 0) ? 0 : 1; } |