forked from qt-creator/qt-creator
CPaster: Fix memory leak
Change-Id: Ic17619074966f6a84dd0fd66579102289a48adf4 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -104,6 +104,7 @@ CodepasterPlugin::CodepasterPlugin() :
|
||||
CodepasterPlugin::~CodepasterPlugin()
|
||||
{
|
||||
delete m_urlOpen;
|
||||
delete m_settings;
|
||||
qDeleteAll(m_protocols);
|
||||
CodepasterPlugin::m_instance = nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user