Fixes memory leak in sound manager

This was SVN commit r13915.
This commit is contained in:
historic_bruno
2013-09-30 01:09:16 +00:00
parent 238b7f84d8
commit fbee618ac8
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -472,9 +472,9 @@ long CSoundManager::GetBufferSize()
return m_BufferSize;
}
void CSoundManager::AddPlayListItem( const VfsPath* itemPath)
void CSoundManager::AddPlayListItem(const VfsPath& itemPath)
{
m_PlayListItems->push_back( *itemPath );
m_PlayListItems->push_back(itemPath);
}
void CSoundManager::ClearPlayListItems()