summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-23 21:59:29 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-23 21:59:29 +0000
commit6916a1feede2c56e14539aaa24fb5824bbfd9724 (patch)
treeb5fa2c7bbdae45be4829f6a5a09005be2f2f10c6 /TAO/tao/Any.cpp
parentcafd3d1607bb0f1c58e8ba4a1ab4a03d15e5e989 (diff)
downloadATCD-6916a1feede2c56e14539aaa24fb5824bbfd9724.tar.gz
ChangeLogTag:Thu Jul 23 16:54:59 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r--TAO/tao/Any.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp
index 5c41f8fa870..65b575ebe1e 100644
--- a/TAO/tao/Any.cpp
+++ b/TAO/tao/Any.cpp
@@ -158,7 +158,7 @@ CORBA_Any::operator= (const CORBA_Any &src)
// seems to depend on the actual data type. Until we fix
// this I'm afraid we will have to leave with a memory leak
// (coryan).
- // delete this->value_;
+ delete this->value_;
this->value_ = 0;
}
@@ -213,7 +213,7 @@ CORBA_Any::~CORBA_Any (void)
// seems to depend on the actual data type. Until we fix
// this I'm afraid we will have to leave with a memory leak
// (coryan).
- // delete this->value_;
+ delete this->value_;
this->value_ = 0;
}
}
@@ -245,7 +245,7 @@ CORBA_Any::replace (CORBA::TypeCode_ptr tc,
// seems to depend on the actual data type. Until we fix
// this I'm afraid we will have to leave with a memory leak
// (coryan).
- // delete this->value_;
+ delete this->value_;
this->value_ = 0;
}
}