mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fixes memory leak in sound manager
This was SVN commit r13915.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user