[mapserver-commits] r11385 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Mar 30 10:04:15 EDT 2011
Author: tbonfort
Date: 2011-03-30 07:04:15 -0700 (Wed, 30 Mar 2011)
New Revision: 11385
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapchart.c
Log:
fix memory leak in bar charts
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-30 13:53:37 UTC (rev 11384)
+++ trunk/mapserver/HISTORY.TXT 2011-03-30 14:04:15 UTC (rev 11385)
@@ -14,6 +14,7 @@
Current Version (SVN trunk):
----------------------------
+- fix memory leak in bar charts
- fix some valgrind errors on agg rotated pixmap symbols
Modified: trunk/mapserver/mapchart.c
===================================================================
--- trunk/mapserver/mapchart.c 2011-03-30 13:53:37 UTC (rev 11384)
+++ trunk/mapserver/mapchart.c 2011-03-30 14:04:15 UTC (rev 11385)
@@ -537,6 +537,8 @@
msDrawEndShape(map,layer,image,&shape);
msFreeShape(&shape);
}
+ free(values);
+ free(styles);
return status;
}
More information about the mapserver-commits
mailing list