[mapguide-commits] r5381 - trunk/MgDev/Server/src/Gws/GwsQueryEngine
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Nov 9 16:49:53 EST 2010
Author: brucedechant
Date: 2010-11-09 13:49:53 -0800 (Tue, 09 Nov 2010)
New Revision: 5381
Modified:
trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp
Log:
Fix memory leak in join engine.
Modified: trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp
===================================================================
--- trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp 2010-11-09 21:48:46 UTC (rev 5380)
+++ trunk/MgDev/Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp 2010-11-09 21:49:53 UTC (rev 5381)
@@ -63,6 +63,12 @@
m_propertyDescriptionCollection.clear();
+ if (m_right != NULL)
+ {
+ m_right->Release();
+ m_right = NULL;
+ }
+
if (m_primaryFeatureIterator != NULL)
{
m_primaryFeatureIterator->Release ();
More information about the mapguide-commits
mailing list