diff options
-rw-r--r-- | tests/Process_Strategy_Test.cpp | 6 | ||||
-rw-r--r-- | tests/Process_Strategy_Test.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/Process_Strategy_Test.cpp b/tests/Process_Strategy_Test.cpp index 7cae8fb9a7d..7cc6881d67d 100644 --- a/tests/Process_Strategy_Test.cpp +++ b/tests/Process_Strategy_Test.cpp @@ -85,6 +85,12 @@ Options::Options (void) { } +Options::~Options (void) +{ + delete concurrency_strategy_; + concurrency_strategy_ = 0; +} + int Options::parse_args (int argc, char *argv[]) { diff --git a/tests/Process_Strategy_Test.h b/tests/Process_Strategy_Test.h index c48dda7574a..b16bb6733c3 100644 --- a/tests/Process_Strategy_Test.h +++ b/tests/Process_Strategy_Test.h @@ -70,6 +70,9 @@ public: Options (void); // Constructor. + ~Options (void); + // Destructor. + int parse_args (int argc, char *argv[]); enum Concurrency_Type |