forked from qt-creator/qt-creator
Fix memory leak in Codepaster plugin
Change-Id: Id40b94c088a398daa599d91a9310c6a4accd4ed0 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
7e7f5aced6
commit
71f903662b
@@ -119,6 +119,7 @@ CodepasterPlugin::CodepasterPlugin() :
|
|||||||
|
|
||||||
CodepasterPlugin::~CodepasterPlugin()
|
CodepasterPlugin::~CodepasterPlugin()
|
||||||
{
|
{
|
||||||
|
delete m_urlOpen;
|
||||||
qDeleteAll(m_protocols);
|
qDeleteAll(m_protocols);
|
||||||
CodepasterPlugin::m_instance = 0;
|
CodepasterPlugin::m_instance = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user