No need for an indexer here.
This commit is contained in:
+2
-2
@@ -418,8 +418,8 @@ void SongManager::FreeSongs()
|
|||||||
m_sSongGroupBannerPaths.clear();
|
m_sSongGroupBannerPaths.clear();
|
||||||
//m_sSongGroupBackgroundPaths.clear();
|
//m_sSongGroupBackgroundPaths.clear();
|
||||||
|
|
||||||
for( unsigned i=0; i<m_pSongs.size(); i++ )
|
for (Song *song : m_pSongs)
|
||||||
SAFE_DELETE( m_pSongs[i] );
|
SAFE_DELETE( song );
|
||||||
m_pSongs.clear();
|
m_pSongs.clear();
|
||||||
m_mapSongGroupIndex.clear();
|
m_mapSongGroupIndex.clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user