[fdo-commits] r2568 - trunk/Utilities/Common/Src/Parse
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Tue Feb 20 17:04:39 EST 2007
Author: jacklee
Date: 2007-02-20 17:04:39 -0500 (Tue, 20 Feb 2007)
New Revision: 2568
Modified:
trunk/Utilities/Common/Src/Parse/Parse.cpp
Log:
Free memory leak in the constraint parser
Modified: trunk/Utilities/Common/Src/Parse/Parse.cpp
===================================================================
--- trunk/Utilities/Common/Src/Parse/Parse.cpp 2007-02-20 22:04:26 UTC (rev 2567)
+++ trunk/Utilities/Common/Src/Parse/Parse.cpp 2007-02-20 22:04:39 UTC (rev 2568)
@@ -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