[mapserver-commits] r11545 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Apr 12 09:09:11 EDT 2011


Author: tbonfort
Date: 2011-04-12 06:09:11 -0700 (Tue, 12 Apr 2011)
New Revision: 11545

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/maprendering.c
Log:
fix memory leak on tiled vector polygons

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2011-04-12 12:38:18 UTC (rev 11544)
+++ trunk/mapserver/HISTORY.TXT	2011-04-12 13:09:11 UTC (rev 11545)
@@ -15,6 +15,8 @@
 Current Version (SVN trunk): 
 ---------------------------- 
 
+- fix memory leak on tiled vector polygons
+
 - fix segfault with marker symbols on short lines (#3823)
 
 - wms_getmap_formatlist causes first defined outputformat to be returned by getmap (#3826)

Modified: trunk/mapserver/maprendering.c
===================================================================
--- trunk/mapserver/maprendering.c	2011-04-12 12:38:18 UTC (rev 11544)
+++ trunk/mapserver/maprendering.c	2011-04-12 13:09:11 UTC (rev 11545)
@@ -254,6 +254,7 @@
                &tmpraster,
                1.0,width,height,0,0,width,height
                );
+         msFreeImage(tile3img);
       }
       tile = addTileCache(img,tileimg,symbol,s,width,height);
    }



More information about the mapserver-commits mailing list