summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-01-27 11:21:31 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2019-01-27 11:21:31 +0100
commit485ab65f3d0876152c9021d695f49a3f3f56c016 (patch)
tree9de10ffbe632f8f87c3346a90ad2b9747134a30c
parent961b2a7b155a23daa95467ae3b2ee6a7bc3cb884 (diff)
downloadATCD-485ab65f3d0876152c9021d695f49a3f3f56c016.tar.gz
Fixed memory leak of annotation_appls_
* TAO/TAO_IDL/ast/ast_decl.cpp:
-rw-r--r--TAO/TAO_IDL/ast/ast_decl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp
index 34648949f09..ecc697cdf05 100644
--- a/TAO/TAO_IDL/ast/ast_decl.cpp
+++ b/TAO/TAO_IDL/ast/ast_decl.cpp
@@ -268,6 +268,9 @@ AST_Decl::destroy (void)
delete [] this->flat_name_;
this->flat_name_ = 0;
+
+ delete this->annotation_appls_;
+ this->annotation_appls_ = 0;
}
AST_Decl *