[geos-commits] r2414 - trunk/source/index/quadtree
svn_geos at osgeo.org
svn_geos at osgeo.org
Mon Apr 27 15:22:07 EDT 2009
Author: strk
Date: 2009-04-27 15:22:07 -0400 (Mon, 27 Apr 2009)
New Revision: 2414
Modified:
trunk/source/index/quadtree/NodeBase.cpp
Log:
Fix memory leak in NodeBase::remove, exposed by unit testing
Modified: trunk/source/index/quadtree/NodeBase.cpp
===================================================================
--- trunk/source/index/quadtree/NodeBase.cpp 2009-04-27 15:52:08 UTC (rev 2413)
+++ trunk/source/index/quadtree/NodeBase.cpp 2009-04-27 19:22:07 UTC (rev 2414)
@@ -246,7 +246,7 @@
// trim subtree if empty
if (subnode[i]->isPrunable())
{
- // delete subnode[i]
+ delete subnode[i];
subnode[i] = NULL;
}
break;
More information about the geos-commits
mailing list