No need for an indexer here.

This commit is contained in:
Jason Felds
2013-05-05 07:34:04 -04:00
parent 5408e1510b
commit faae62ffb3
+2 -2
View File
@@ -418,8 +418,8 @@ void SongManager::FreeSongs()
m_sSongGroupBannerPaths.clear();
//m_sSongGroupBackgroundPaths.clear();
for( unsigned i=0; i<m_pSongs.size(); i++ )
SAFE_DELETE( m_pSongs[i] );
for (Song *song : m_pSongs)
SAFE_DELETE( song );
m_pSongs.clear();
m_mapSongGroupIndex.clear();