PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ _lwt_release_edges()

static void _lwt_release_edges ( LWT_ISO_EDGE edges,
int  num_edges 

Definition at line 471 of file lwgeom_topo.c.

References lwfree(), and lwline_free().

Referenced by _lwt_AddFaceSplit(), _lwt_CheckEdgeCrossing(), _lwt_EdgeSplit(), _lwt_FindAdjacentEdges(), _lwt_GetEqualEdge(), _lwt_HealEdges(), _lwt_RemEdge(), lwt_AddLine(), lwt_AddPoint(), lwt_ChangeEdgeGeom(), lwt_GetEdgeByPoint(), lwt_GetFaceByPoint(), lwt_GetFaceEdges(), lwt_GetFaceGeometry(), lwt_ModEdgeSplit(), and lwt_NewEdgesSplit().

472 {
473  int i;
474  for ( i=0; i<num_edges; ++i ) {
475  if ( edges[i].geom ) lwline_free(edges[i].geom);
476  }
477  lwfree(edges);
478 }
void lwfree(void *mem)
Definition: lwutil.c:214
void lwline_free(LWLINE *line)
Definition: lwline.c:63
Here is the call graph for this function:
Here is the caller graph for this function: