summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_decl.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_decl.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp
index b1ed63db3e6..e42735dff0c 100644
--- a/TAO/TAO_IDL/ast/ast_decl.cpp
+++ b/TAO/TAO_IDL/ast/ast_decl.cpp
@@ -861,7 +861,7 @@ AST_Decl::full_name (void)
{
if (this->full_name_ == 0)
{
- compute_full_name ();
+ this->compute_full_name ();
}
return this->full_name_;
@@ -1274,6 +1274,16 @@ AST_Decl::set_name (UTL_ScopedName *n)
}
this->original_local_name (n->last_component ());
+
+ // These will be recomputed on demand.
+ delete [] this->flat_name_;
+ this->flat_name_ = 0;
+
+ delete [] this->full_name_;
+ this->full_name_ = 0;
+
+ delete [] this->repoID_;
+ this->repoID_ = 0;
}
}