summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pso/TMainTask.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index 6a8c2bd..c02b4ac 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -49,7 +49,9 @@ void TMainTask::run_task() {
}
TMainTask::~TMainTask() {
- this->delete_children();
+ delete_children();
+ delete alt_heap;
+ delete obj_heap;
}
void TMainTask::init_main_task() {