PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ _lwt_release_nodes()

static void _lwt_release_nodes ( LWT_ISO_NODE nodes,
int  num_nodes 
)
static

Definition at line 481 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().

482 {
483  int i;
484  for ( i=0; i<num_nodes; ++i ) {
485  if ( nodes[i].geom ) lwpoint_free(nodes[i].geom);
486  }
487  lwfree(nodes);
488 }
void lwfree(void *mem)
Definition: lwutil.c:214
void lwpoint_free(LWPOINT *pt)
Definition: lwpoint.c:182
Here is the call graph for this function:
Here is the caller graph for this function: