PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ _lwt_release_nodes()

static void _lwt_release_nodes ( LWT_ISO_NODE nodes,
int  num_nodes 
)
static

Definition at line 467 of file lwgeom_topo.c.

References lwfree(), and lwpoint_free().

Referenced by _lwt_AddEdge(), _lwt_AddFaceSplit(), _lwt_AddLine(), _lwt_AddLineEdge(), _lwt_AddPoint(), _lwt_CheckEdgeCrossing(), lwt_AddIsoEdge(), lwt_ChangeEdgeGeom(), and lwt_GetNodeByPoint().

468 {
469  int i;
470  for ( i=0; i<num_nodes; ++i ) {
471  if ( nodes[i].geom ) lwpoint_free(nodes[i].geom);
472  }
473  lwfree(nodes);
474 }
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: