[mapserver-commits] r11386 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Mar 30 10:06:43 EDT 2011


Author: tbonfort
Date: 2011-03-30 07:06:43 -0700 (Wed, 30 Mar 2011)
New Revision: 11386

Modified:
   trunk/mapserver/mapchart.c
Log:
fix memory leak in bar charts

Modified: trunk/mapserver/mapchart.c
===================================================================
--- trunk/mapserver/mapchart.c	2011-03-30 14:04:15 UTC (rev 11385)
+++ trunk/mapserver/mapchart.c	2011-03-30 14:06:43 UTC (rev 11386)
@@ -451,6 +451,8 @@
         msDrawEndShape(map,layer,image,&shape);
         msFreeShape(&shape);
     }
+    free(values);
+    free(styles);
     return status;
 }
 



More information about the mapserver-commits mailing list