[Scummvm-cvs-logs] SF.net SVN: scummvm:[55789] scummvm/trunk/engines/hugo/hugo.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Sat Feb 5 15:45:38 CET 2011


Revision: 55789
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55789&view=rev
Author:   strangerke
Date:     2011-02-05 14:45:36 +0000 (Sat, 05 Feb 2011)

Log Message:
-----------
HUGO: Fix leak (thanks digitall)

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/hugo.cpp

Modified: scummvm/trunk/engines/hugo/hugo.cpp
===================================================================
--- scummvm/trunk/engines/hugo/hugo.cpp	2011-02-05 14:07:30 UTC (rev 55788)
+++ scummvm/trunk/engines/hugo/hugo.cpp	2011-02-05 14:45:36 UTC (rev 55789)
@@ -146,6 +146,7 @@
 	delete _intro;
 	delete _scheduler;
 	delete _file;
+	delete _text;
 
 	DebugMan.clearAllDebugChannels();
 	delete _console;
@@ -319,6 +320,7 @@
 		g_system->delayMillis(5);
 		_curTime = g_system->getMillis();
 	}
+
 	_lastTime = _curTime;
 
 	switch (gameStatus.viewState) {


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