summaryrefslogtreecommitdiffstats
path: root/tutorial/t15
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t15')
-rw-r--r--tutorial/t15/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tutorial/t15/main.cpp b/tutorial/t15/main.cpp
index b20262bff..a5381e607 100644
--- a/tutorial/t15/main.cpp
+++ b/tutorial/t15/main.cpp
@@ -33,6 +33,8 @@ void WorkerObject::run()
eventLoop->processEvents(TQEventLoop::AllEvents);
}
+ delete t;
+
eventLoop->exit(0);
}