[mapserver-commits] r11871 - branches/branch-6-0/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jul 5 14:28:14 EDT 2011


Author: sdlime
Date: 2011-07-05 11:28:13 -0700 (Tue, 05 Jul 2011)
New Revision: 11871

Modified:
   branches/branch-6-0/mapserver/HISTORY.TXT
   branches/branch-6-0/mapserver/mapquery.c
Log:
Added missing fclose() calls when writing query files. (#3943)

Modified: branches/branch-6-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-6-0/mapserver/HISTORY.TXT	2011-07-05 18:25:31 UTC (rev 11870)
+++ branches/branch-6-0/mapserver/HISTORY.TXT	2011-07-05 18:28:13 UTC (rev 11871)
@@ -14,6 +14,9 @@
 
 Version 6.0.1 (SVN branch-6-0):
 ---------------------------
+
+- Added missing fclose() when writing query files (#3943)
+
 - Fix double-free in msAddImageSymbol() when filename is a http resource (#3939)
 
 - Fix rendering of lines with outlinewidth set if not on first style (#3935)

Modified: branches/branch-6-0/mapserver/mapquery.c
===================================================================
--- branches/branch-6-0/mapserver/mapquery.c	2011-07-05 18:25:31 UTC (rev 11870)
+++ branches/branch-6-0/mapserver/mapquery.c	2011-07-05 18:28:13 UTC (rev 11871)
@@ -206,6 +206,7 @@
     }
   }
 
+  fclose(stream);
   return MS_SUCCESS;
 }
 
@@ -316,6 +317,7 @@
     fprintf(stream, "%d\n", MS_SHAPE_NULL); /* NULL shape */
   }
 
+  fclose(stream);
   return MS_SUCCESS;
 }
 



More information about the mapserver-commits mailing list