CPaster: Fix memory leak

Change-Id: Ic17619074966f6a84dd0fd66579102289a48adf4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-01-22 16:58:30 +01:00
parent a8af3810e4
commit b805e46771

View File

@@ -104,6 +104,7 @@ CodepasterPlugin::CodepasterPlugin() :
CodepasterPlugin::~CodepasterPlugin()
{
delete m_urlOpen;
delete m_settings;
qDeleteAll(m_protocols);
CodepasterPlugin::m_instance = nullptr;
}