summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-15 18:37:52 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-15 18:37:52 +0000
commit01d7445c1fddea9ab7ac3751507c73f38898dcd5 (patch)
tree84890fc75477eef63af6ffcd9f818f123b500b89 /ace/Naming_Context.cpp
parenteb8914b4d9b20122181e6040237915671a4911ca (diff)
downloadATCD-01d7445c1fddea9ab7ac3751507c73f38898dcd5.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r--ace/Naming_Context.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp
index 72ceaa42467..7e0b1534076 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -103,8 +103,6 @@ ACE_Naming_Context::close (void)
delete this->name_space_;
this->name_space_ = 0;
- delete this->name_options_;
- this->name_options_ = 0;
return 0;
}
@@ -326,6 +324,9 @@ ACE_Naming_Context::~ACE_Naming_Context (void)
ACE_TRACE ("ACE_Naming_Context::~ACE_Naming_Context");
this->close ();
+
+ delete this->name_options_;
+ this->name_options_ = 0;
}
void