summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-01-27 13:09:26 +0100
committerGitHub <noreply@github.com>2019-01-27 13:09:26 +0100
commit282ecaf77e08bfc57851f57e93c2644021192ec2 (patch)
tree9de10ffbe632f8f87c3346a90ad2b9747134a30c
parent85951bb81e4fddd687c7a4f978cfe4539f4d0705 (diff)
parent485ab65f3d0876152c9021d695f49a3f3f56c016 (diff)
downloadATCD-282ecaf77e08bfc57851f57e93c2644021192ec2.tar.gz
Merge pull request #809 from jwillemsen/jwi-taoidlmemleak
Fixed memory leak of annotation_appls_
-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 *