[mapserver-commits] r9041 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed May 27 17:51:03 EDT 2009
Author: pramsey
Date: 2009-05-27 17:51:03 -0400 (Wed, 27 May 2009)
New Revision: 9041
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mappostgis.c
Log:
Fix memory leak in SQL building (#2997)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2009-05-25 13:10:48 UTC (rev 9040)
+++ trunk/mapserver/HISTORY.TXT 2009-05-27 21:51:03 UTC (rev 9041)
@@ -15,6 +15,8 @@
----------------------------
- Fix agg freetype character lookup when no unicode charmap is present (#3018)
+- Fix memory leak in SQL building (#2997)
+
- Fork AGG rendering library in our trunk
- Fixed a memory leak when unescaping quotes in logical expressions (#2938)
Modified: trunk/mapserver/mappostgis.c
===================================================================
--- trunk/mapserver/mappostgis.c 2009-05-25 13:10:48 UTC (rev 9040)
+++ trunk/mapserver/mappostgis.c 2009-05-27 21:51:03 UTC (rev 9041)
@@ -1041,6 +1041,7 @@
}
strSRID = malloc(strlen(strSRIDTemplate) + strlen(f_table_name) + strlen(layerinfo->geomcolumn));
sprintf(strSRID, strSRIDTemplate, f_table_name, layerinfo->geomcolumn);
+ if ( f_table_name ) free(f_table_name);
}
return strSRID;
}
More information about the mapserver-commits
mailing list