1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Don't leak

This commit is contained in:
Leo Franchi 2012-06-05 09:17:23 +01:00
parent a8ff291a37
commit c001acffee

View File

@ -73,6 +73,15 @@ AtticaManager::AtticaManager( QObject* parent )
AtticaManager::~AtticaManager()
{
savePixmapsToCache();
foreach( const QString& id, m_resolverStates.keys() )
{
if ( !m_resolverStates[ id ].pixmap )
continue;
delete m_resolverStates[ id ].pixmap;
}
}