[Scummvm-cvs-logs] SF.net SVN: scummvm: [32680] scummvm/branches/gsoc2008-rtl/engines/scumm/ sound.cpp

cpage88 at users.sourceforge.net cpage88 at users.sourceforge.net
Thu Jun 12 21:43:54 CEST 2008


Revision: 32680
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32680&view=rev
Author:   cpage88
Date:     2008-06-12 12:43:54 -0700 (Thu, 12 Jun 2008)

Log Message:
-----------
SCUMM: Fixed a memory leak in the SCUMM engine

Modified Paths:
--------------
    scummvm/branches/gsoc2008-rtl/engines/scumm/sound.cpp

Modified: scummvm/branches/gsoc2008-rtl/engines/scumm/sound.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/scumm/sound.cpp	2008-06-12 19:34:32 UTC (rev 32679)
+++ scummvm/branches/gsoc2008-rtl/engines/scumm/sound.cpp	2008-06-12 19:43:54 UTC (rev 32680)
@@ -89,6 +89,7 @@
 
 Sound::~Sound() {
 	stopCDTimer();
+	AudioCD.destroy();
 	delete _sfxFile;
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list