Revision: 7638
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7638&view=rev
Author:   thjc
Date:     2009-05-12 15:35:15 +0000 (Tue, 12 May 2009)

Log Message:
-----------
make sure we close the world file

Modified Paths:
--------------
    code/stage/trunk/libstage/worldfile.cc

Modified: code/stage/trunk/libstage/worldfile.cc
===================================================================
--- code/stage/trunk/libstage/worldfile.cc      2009-05-11 19:34:50 UTC (rev 
7637)
+++ code/stage/trunk/libstage/worldfile.cc      2009-05-12 15:35:15 UTC (rev 
7638)
@@ -187,9 +187,12 @@
   if (!LoadTokens(file, 0))
     {
       //DumpTokens();
+      fclose(file);
       return false;
     }
 
+  fclose(file);
+
   // Parse the tokens to identify entities
   if (!ParseTokens())
     {


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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to