[mapguide-commits] r1196 - trunk/MgDev/Common/Stylization

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 12 11:41:28 EDT 2007


Author: traianstanev
Date: 2007-03-12 11:41:27 -0400 (Mon, 12 Mar 2007)
New Revision: 1196

Modified:
   trunk/MgDev/Common/Stylization/SE_Include.h
Log:
update destructor to free cached bounds.

Modified: trunk/MgDev/Common/Stylization/SE_Include.h
===================================================================
--- trunk/MgDev/Common/Stylization/SE_Include.h	2007-03-10 01:25:46 UTC (rev 1195)
+++ trunk/MgDev/Common/Stylization/SE_Include.h	2007-03-12 15:41:27 UTC (rev 1196)
@@ -24,6 +24,7 @@
 #include "FilterExecutor.h"
 #include "SE_Matrix.h"
 #include "SE_LineBuffer.h"
+#include "SE_Bounds.h"
 
 using namespace MDFMODEL_NAMESPACE;
 
@@ -467,6 +468,8 @@
     {
         for (SE_RenderSymbol::iterator iter = symbol.begin(); iter != symbol.end(); iter++)
             delete *iter;
+
+        if (bounds) bounds->Free();
     }
 
     SE_StyleType type;



More information about the mapguide-commits mailing list