summaryrefslogtreecommitdiff
path: root/tests/Process_Strategy_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-03 21:33:59 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-03 21:33:59 +0000
commitde422b00d9c16418a0fd122dceef53c7ea6b36ae (patch)
tree17b5d8af057c9d3d6a3f17790fd7be27932821ea /tests/Process_Strategy_Test.cpp
parentb3b85a2c23d999f5983620767755e3900cb7ef0e (diff)
downloadATCD-de422b00d9c16418a0fd122dceef53c7ea6b36ae.tar.gz
(Options): added a destructor so that the dynamically allocated concurrency_strategy_ can be deleted
Diffstat (limited to 'tests/Process_Strategy_Test.cpp')
-rw-r--r--tests/Process_Strategy_Test.cpp6
1 files changed, 6 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[])
{