[Scummvm-cvs-logs] SF.net SVN: scummvm:[47372] scummvm/trunk/engines/mohawk/riven.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Tue Jan 19 06:08:54 CET 2010
Revision: 47372
http://scummvm.svn.sourceforge.net/scummvm/?rev=47372&view=rev
Author: mthreepwood
Date: 2010-01-19 05:08:53 +0000 (Tue, 19 Jan 2010)
Log Message:
-----------
Missed copying a line from console.cpp; fixes a memory leak.
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/riven.cpp
Modified: scummvm/trunk/engines/mohawk/riven.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven.cpp 2010-01-19 05:01:45 UTC (rev 47371)
+++ scummvm/trunk/engines/mohawk/riven.cpp 2010-01-19 05:08:53 UTC (rev 47372)
@@ -540,6 +540,7 @@
Common::SeekableReadStream *rmapStream = getRawData(ID_RMAP, 1);
rmapStream->seek(_curCard * 4);
uint32 rmapCode = rmapStream->readUint32BE();
+ delete rmapStream;
return rmapCode;
}
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