diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-09-14 11:13:08 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-09-14 11:13:08 +0200 |
commit | 851196b5e70421cd62c16e47ccd3863591ffa8c7 (patch) | |
tree | 10b7e735d587ed788adcc9f97063c97f651b292f | |
parent | ac6416f590563684d6ba660ddb89bd13c0842c70 (diff) | |
download | ATCD-851196b5e70421cd62c16e47ccd3863591ffa8c7.tar.gz |
Fixed reported memory leak by Coverity
* ACE/tests/Compiler_Features_21_Test.cpp:
-rw-r--r-- | ACE/tests/Compiler_Features_21_Test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ACE/tests/Compiler_Features_21_Test.cpp b/ACE/tests/Compiler_Features_21_Test.cpp index 13d3b369614..c8ad796e3a7 100644 --- a/ACE/tests/Compiler_Features_21_Test.cpp +++ b/ACE/tests/Compiler_Features_21_Test.cpp @@ -17,6 +17,7 @@ struct A struct B { B() : b(new A<int>[0]) {} + ~B() { delete [] b; } A<int> *b; }; |