[mapserver-commits] r10470 -
sandbox/sdlime/common-expressions/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Aug 26 00:58:32 EDT 2010
Author: sdlime
Date: 2010-08-26 04:58:32 +0000 (Thu, 26 Aug 2010)
New Revision: 10470
Modified:
sandbox/sdlime/common-expressions/mapserver/mapquery.c
Log:
Fixed double free in msQueryByFilter().
Modified: sandbox/sdlime/common-expressions/mapserver/mapquery.c
===================================================================
--- sandbox/sdlime/common-expressions/mapserver/mapquery.c 2010-08-25 03:52:05 UTC (rev 10469)
+++ sandbox/sdlime/common-expressions/mapserver/mapquery.c 2010-08-26 04:58:32 UTC (rev 10470)
@@ -742,6 +742,7 @@
if((lp->mingeowidth > 0) && ((map->extent.maxx - map->extent.minx) < lp->mingeowidth)) continue;
}
+ initExpression(&old_filter);
msCopyExpression(&old_filter, &lp->filter); /* save existing filter */
if(msLayerSupportsCommonFilters(lp)) {
msCopyExpression(&lp->filter, map->query.filter); /* apply new filter */
More information about the mapserver-commits
mailing list