aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpaster
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-01-22 16:58:30 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-01-22 16:44:38 +0000
commitb805e467712d3baaeaf2f549da600223a849a0c9 (patch)
treec8729e06697aab44cc25f90f8285833ff7f29350 /src/plugins/cpaster
parenta8af3810e472922319e7249cc0145d00308b4bba (diff)
CPaster: Fix memory leak
Change-Id: Ic17619074966f6a84dd0fd66579102289a48adf4 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r--src/plugins/cpaster/cpasterplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp
index c1198a26a6..a04970e281 100644
--- a/src/plugins/cpaster/cpasterplugin.cpp
+++ b/src/plugins/cpaster/cpasterplugin.cpp
@@ -104,6 +104,7 @@ CodepasterPlugin::CodepasterPlugin() :
CodepasterPlugin::~CodepasterPlugin()
{
delete m_urlOpen;
+ delete m_settings;
qDeleteAll(m_protocols);
CodepasterPlugin::m_instance = nullptr;
}