PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ _lwt_release_nodes()

static void _lwt_release_nodes ( LWT_ISO_NODE nodes,
int  num_nodes 
)
static

Definition at line 477 of file lwgeom_topo.c.

References lwfree(), and lwpoint_free().

Referenced by _lwt_AddEdge(), _lwt_AddFaceSplit(), _lwt_AddLineEdge(), _lwt_CheckEdgeCrossing(), lwt_AddIsoEdge(), lwt_AddLine(), lwt_AddPoint(), lwt_ChangeEdgeGeom(), and lwt_GetNodeByPoint().

478 {
479  int i;
480  for ( i=0; i<num_nodes; ++i ) {
481  if ( nodes[i].geom ) lwpoint_free(nodes[i].geom);
482  }
483  lwfree(nodes);
484 }
void lwfree(void *mem)
Definition: lwutil.c:244
void lwpoint_free(LWPOINT *pt)
Definition: lwpoint.c:213
Here is the call graph for this function:
Here is the caller graph for this function: