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:
Daniel Teske
2012-06-28 12:16:19 +02:00
committed by Tobias Hunger
parent 7e7f5aced6
commit 71f903662b

View File

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