diff options
author | Steve Huston <shuston@riverace.com> | 1998-08-18 20:23:22 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-08-18 20:23:22 +0000 |
commit | c4eb5b095727c799874065e70807a39d33c6e9af (patch) | |
tree | 14948a94fcf72ae7b104a0793ff29ca3a54b6460 /TAO/tao/Any.cpp | |
parent | 76dd70e4c6e183d52855fb7cb1f018e074dc83d7 (diff) | |
download | ATCD-c4eb5b095727c799874065e70807a39d33c6e9af.tar.gz |
Use operator delete to delete un-typed memory blocks.
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r-- | TAO/tao/Any.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp index f3117212db8..858d18c0a1c 100644 --- a/TAO/tao/Any.cpp +++ b/TAO/tao/Any.cpp @@ -150,7 +150,7 @@ CORBA_Any::operator= (const CORBA_Any &src) if (this->any_owns_data_ && this->value_ != 0) { DEEP_FREE (this->type_, this->value_, 0, env); - delete this->value_; + ::operator delete (this->value_); this->value_ = 0; if (this->type_ != 0) @@ -200,7 +200,7 @@ CORBA_Any::~CORBA_Any (void) if (this->value_) { DEEP_FREE (this->type_, this->value_, 0, env); - delete this->value_; + ::operator delete (this->value_); this->value_ = 0; } } @@ -226,7 +226,7 @@ CORBA_Any::replace (CORBA::TypeCode_ptr tc, if (this->any_owns_data_ && this->value_ != 0) { DEEP_FREE (this->type_, this->value_, 0, env); - delete this->value_; + ::operator delete (this->value_); this->value_ = 0; } |