summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-09 20:29:14 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-09 20:29:14 +0000
commitde4b4fe5ba45f6084f841e333cc092a7775e412c (patch)
tree878eee99239f98d8ea8acbfd6c17db0ebe6fefcf /TAO
parentbaf38b32823baf6f127175ec1e0ddf900bb189e5 (diff)
downloadATCD-de4b4fe5ba45f6084f841e333cc092a7775e412c.tar.gz
~App_Allocated: freeing up the memory pools before deleting the allocators.
Diffstat (limited to 'TAO')
-rw-r--r--TAO/tao/ORB_Core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index aca2792a85b..9e90410d7b3 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1484,7 +1484,12 @@ TAO_Resource_Factory::App_Allocated::App_Allocated (void)
TAO_Resource_Factory::App_Allocated::~App_Allocated (void)
{
+ if (this->input_cdr_dblock_allocator_ != 0)
+ this->input_cdr_dblock_allocator_->remove ();
delete this->input_cdr_dblock_allocator_;
+
+ if (this->input_cdr_buffer_allocator_ != 0)
+ this->input_cdr_buffer_allocator_->remove ();
delete this->input_cdr_buffer_allocator_;
}