summaryrefslogtreecommitdiff
path: root/tests/Timer_Queue_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-24 14:56:15 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-24 14:56:15 +0000
commit13e2839afa65f7697fc11dbd2fb8099cf02583f7 (patch)
tree1a46502c8fae97da337394dc8b6db827aa18eee2 /tests/Timer_Queue_Test.cpp
parent1159ba476a51ec20f38559cc7b7ad016709323bd (diff)
downloadATCD-13e2839afa65f7697fc11dbd2fb8099cf02583f7.tar.gz
(main): added delete of timer_ids array to avoid memory leak
Diffstat (limited to 'tests/Timer_Queue_Test.cpp')
-rw-r--r--tests/Timer_Queue_Test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Timer_Queue_Test.cpp b/tests/Timer_Queue_Test.cpp
index 10e066a0204..3c846246709 100644
--- a/tests/Timer_Queue_Test.cpp
+++ b/tests/Timer_Queue_Test.cpp
@@ -304,6 +304,8 @@ main (int argc, char *argv[])
delete timer_queues[i].queue_;
}
+ delete [] timer_ids;
+
ACE_END_TEST;
return 0;
}