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 /TAO/tao | |
parent | a02cac391a6f1bf9a74dfc07c91e066891fdfd96 (diff) | |
download | ATCD-5db5c1f2ad86f7dcf05f46ab4012df1bf1046131.tar.gz |
ChangeLogTag: Mon Dec 16 23:26:50 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Policy_Validator.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |