[fdo-commits] r787 - branches/3.2.x/Utilities/Common/Src/Parse

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Feb 20 16:55:24 EST 2007


Author: jacklee
Date: 2007-02-20 16:55:24 -0500 (Tue, 20 Feb 2007)
New Revision: 787

Modified:
   branches/3.2.x/Utilities/Common/Src/Parse/Parse.cpp
Log:
Free memory leak in the constraint geometry parser

Modified: branches/3.2.x/Utilities/Common/Src/Parse/Parse.cpp
===================================================================
--- branches/3.2.x/Utilities/Common/Src/Parse/Parse.cpp	2007-02-20 21:53:58 UTC (rev 786)
+++ branches/3.2.x/Utilities/Common/Src/Parse/Parse.cpp	2007-02-20 21:55:24 UTC (rev 787)
@@ -62,6 +62,10 @@
     FDO_SAFE_RELEASE(m_ComputedIdentifiers);
 	if (m_lex != NULL)
 		delete m_lex;
+#ifndef _WIN32
+    free(fdo_constraint_yyss);
+    free(fdo_constraint_yyvs);
+#endif
 }
 
 FdoIDisposable* FdoCommonParse::AddNode(FdoIDisposable* pNode)



More information about the fdo-commits mailing list