[fdo-commits] r2566 - trunk/Fdo/Unmanaged/Src/Fdo/Parse

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Feb 20 17:02:00 EST 2007


Author: jacklee
Date: 2007-02-20 17:02:00 -0500 (Tue, 20 Feb 2007)
New Revision: 2566

Modified:
   trunk/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp
Log:
Free memory leak in the expression, filter and geometry parser

Modified: trunk/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp
===================================================================
--- trunk/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp	2007-02-20 19:44:09 UTC (rev 2565)
+++ trunk/Fdo/Unmanaged/Src/Fdo/Parse/Parse.cpp	2007-02-20 22:02:00 UTC (rev 2566)
@@ -67,6 +67,13 @@
     FDO_SAFE_RELEASE(m_ComputedIdentifiers);
 	if (m_lex != NULL)
 		delete m_lex;
+#ifndef _WIN32
+        free(fdo_expression_yyss);
+        free(fdo_expression_yyvs);
+        free(fdo_filter_yyss);
+        free(fdo_filter_yyvs);
+#endif
+
 }
 
 FdoIDisposable* FdoParse::AddNode(FdoIDisposable* pNode)



More information about the fdo-commits mailing list