mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X: fix a memory leak that dropped a few Kbytes of memory on every suspend/resume (it's been there for ages too; SoundTouch object wasn't being deleted).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1983 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3082fd2003
commit
9b213aeffa
|
@ -286,6 +286,8 @@ void SndBuffer::Cleanup()
|
|||
{
|
||||
mods[OutputModule]->Close();
|
||||
|
||||
soundtouchCleanup();
|
||||
|
||||
safe_delete_array( m_buffer );
|
||||
safe_delete_array( sndTempBuffer );
|
||||
safe_delete_array( sndTempBuffer16 );
|
||||
|
|
Loading…
Reference in New Issue