[Scummvm-cvs-logs] SF.net SVN: scummvm:[39865] residual/trunk/engine/lua.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Apr 5 17:43:26 CEST 2009


Revision: 39865
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39865&view=rev
Author:   aquadran
Date:     2009-04-05 15:43:26 +0000 (Sun, 05 Apr 2009)

Log Message:
-----------
fixed unlock not closed file stream

Modified Paths:
--------------
    residual/trunk/engine/lua.cpp

Modified: residual/trunk/engine/lua.cpp
===================================================================
--- residual/trunk/engine/lua.cpp	2009-04-05 14:48:54 UTC (rev 39864)
+++ residual/trunk/engine/lua.cpp	2009-04-05 15:43:26 UTC (rev 39865)
@@ -2965,6 +2965,7 @@
 		error("Could not restore screenshot from file!");
 	}
 	savedState->endSection();
+	delete savedState;
 	printf("GetSaveGameImage() finished.\n");
 }
 


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