summaryrefslogtreecommitdiff
path: root/src/app/qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-01-07 11:11:33 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-01-07 11:39:29 +0000
commit375ba8b23f0bf2b8639e9d7196f4451149798464 (patch)
treea88c3011da8e34aa340e631376d3c2e7c7fdf6d6 /src/app/qbs
parent70c4fbabbffe1ee8cc281a578c0c9cc492ee40e9 (diff)
downloadqbs-375ba8b23f0bf2b8639e9d7196f4451149798464.tar.gz
Fix memory leak in CommandLineFrontend
Change-Id: Id9eaad06304c8e2276f7765daa73e358baa9a396 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/app/qbs')
-rw-r--r--src/app/qbs/commandlinefrontend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs/commandlinefrontend.cpp b/src/app/qbs/commandlinefrontend.cpp
index f204602a6..d8b4d9ca8 100644
--- a/src/app/qbs/commandlinefrontend.cpp
+++ b/src/app/qbs/commandlinefrontend.cpp
@@ -78,6 +78,7 @@ CommandLineFrontend::CommandLineFrontend(const CommandLineParser &parser, Settin
CommandLineFrontend::~CommandLineFrontend()
{
m_cancelTimer->stop();
+ delete m_observer;
}
// Called from interrupt handler. Don't do anything non-trivial here.