aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/planner-eds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/planner-eds.cpp b/src/planner-eds.cpp
index db5d1ba..1fb0bd1 100644
--- a/src/planner-eds.cpp
+++ b/src/planner-eds.cpp
@@ -279,6 +279,7 @@ private:
std::shared_ptr<Task> main_task(new Task(this, func), [](Task* task){
g_debug("time to delete task %p", (void*)task);
task->func(task->appointments);
+ delete task;
});
for (auto& source : m_sources)