]> granicus.if.org Git - postgis/commitdiff
Plug another leak in lwt_AddIsoEdge
authorSandro Santilli <strk@keybit.net>
Wed, 26 Aug 2015 14:45:55 +0000 (14:45 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 26 Aug 2015 14:45:55 +0000 (14:45 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14009 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom_topo.c

index 88b1aefe121a13c72fd4af953fa1930abd3c8a51..6eef72ad93057cf2e24cc7cb8990b65e649026f6 100644 (file)
@@ -852,6 +852,8 @@ lwt_AddIsoEdge( LWT_TOPOLOGY* topo, LWT_ELEMID startNode,
     }
   }
 
+  if ( num_nodes ) _lwt_release_nodes(endpoints, num_nodes);
+
   if ( ! skipISOChecks )
   {
     if ( _lwt_CheckEdgeCrossing( topo, startNode, endNode, geom, 0 ) )