[mapserver-commits] r11337 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Mar 24 16:15:30 EDT 2011
Author: assefa
Date: 2011-03-24 13:15:30 -0700 (Thu, 24 Mar 2011)
New Revision: 11337
Modified:
trunk/mapserver/mapogcsld.c
Log:
Fix memory leaks #3756
Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c 2011-03-24 19:27:59 UTC (rev 11336)
+++ trunk/mapserver/mapogcsld.c 2011-03-24 20:15:30 UTC (rev 11337)
@@ -451,7 +451,10 @@
if (bUseSpecificLayer)
break;
}
-
+
+ for (i=0; i<nLayers; i++)
+ freeLayer(&pasLayers[i]);
+ msFree(pasLayers);
}
if(map->debug == MS_DEBUGLEVEL_VVV)
{
More information about the mapserver-commits
mailing list