diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-12-17 04:27:57 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-12-17 04:27:57 +0000 |
commit | 5db5c1f2ad86f7dcf05f46ab4012df1bf1046131 (patch) | |
tree | e215846af8fa196355740c1940f6d4be53a9fecc | |
parent | a02cac391a6f1bf9a74dfc07c91e066891fdfd96 (diff) | |
download | ATCD-5db5c1f2ad86f7dcf05f46ab4012df1bf1046131.tar.gz |
ChangeLogTag: Mon Dec 16 23:26:50 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 10 | ||||
-rw-r--r-- | TAO/tao/Policy_Validator.cpp | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index ac48881061c..1766d4fd03e 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,13 @@ +Mon Dec 16 23:26:50 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> + + * tao/Policy_Validator.cpp: Reset the last_ to zero during + destruction. If not reset, it starts creating problem during + reloading of libraries since they see that last_ is not zero but + pointing to a stale location. Thanks to Guan + Joe <annieg608@hotmail.com> for reporting this. Having a static + member is not the way to go. But let me hold on till 1.3 goes + out of the way. + Mon Dec 16 17:09:55 2002 Jeff Parsons <j.parsons@vanderbilt.edu> * tao/CORBALOC_Parser.cpp: diff --git a/TAO/tao/Policy_Validator.cpp b/TAO/tao/Policy_Validator.cpp index 22baade02d3..7cd13e96777 100644 --- a/TAO/tao/Policy_Validator.cpp +++ b/TAO/tao/Policy_Validator.cpp @@ -18,7 +18,10 @@ TAO_Policy_Validator::TAO_Policy_Validator (TAO_ORB_Core &orb_core) TAO_Policy_Validator::~TAO_Policy_Validator (void) { - delete this->next_; + if (this == this->last_) + this-> last_ = 0; + if (this->next_) + delete this->next_; } void |