[mapserver-commits] r13219 - sandbox/tb-labels
svn at osgeo.org
svn at osgeo.org
Fri Mar 9 04:12:29 EST 2012
Author: tbonfort
Date: 2012-03-09 01:12:29 -0800 (Fri, 09 Mar 2012)
New Revision: 13219
Modified:
sandbox/tb-labels/mapdraw.c
Log:
fix allocation error
Modified: sandbox/tb-labels/mapdraw.c
===================================================================
--- sandbox/tb-labels/mapdraw.c 2012-03-08 18:29:50 UTC (rev 13218)
+++ sandbox/tb-labels/mapdraw.c 2012-03-09 09:12:29 UTC (rev 13219)
@@ -2890,6 +2890,7 @@
tmppoly = cachePtr->poly;
cachePtr->poly = &marker_poly;
if( MS_OFF == msTestLabelCacheCollisions(map, cachePtr, 0,priority, l)) {
+ cachePtr->poly = tmppoly;
continue; /* the marker collided, no point continuing */
}
cachePtr->poly = tmppoly;
More information about the mapserver-commits
mailing list