fix semi-leak
This commit is contained in:
@@ -59,6 +59,9 @@ RageSoundManager::~RageSoundManager()
|
|||||||
{
|
{
|
||||||
/* Don't lock while deleting the driver (the decoder thread might deadlock). */
|
/* Don't lock while deleting the driver (the decoder thread might deadlock). */
|
||||||
delete m_pDriver;
|
delete m_pDriver;
|
||||||
|
FOREACHM( RString, RageSoundReader_Preload *, m_mapPreloadedSounds, s )
|
||||||
|
delete s->second;
|
||||||
|
m_mapPreloadedSounds.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user