PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ _lwt_release_edges()

static void _lwt_release_edges ( LWT_ISO_EDGE edges,
int  num_edges 
)
static

Definition at line 457 of file lwgeom_topo.c.

References lwfree(), and lwline_free().

Referenced by _lwt_AddFaceSplit(), _lwt_AddLine(), _lwt_AddPoint(), _lwt_CheckEdgeCrossing(), _lwt_EdgeSplit(), _lwt_FindAdjacentEdges(), _lwt_GetEqualEdge(), _lwt_HealEdges(), _lwt_MakeRingShell(), _lwt_RemEdge(), lwt_ChangeEdgeGeom(), lwt_GetEdgeByPoint(), lwt_GetFaceByPoint(), lwt_GetFaceEdges(), lwt_GetFaceGeometry(), lwt_ModEdgeSplit(), lwt_NewEdgesSplit(), and lwt_Polygonize().

458 {
459  int i;
460  for ( i=0; i<num_edges; ++i ) {
461  if ( edges[i].geom ) lwline_free(edges[i].geom);
462  }
463  lwfree(edges);
464 }
void lwfree(void *mem)
Definition: lwutil.c:244
void lwline_free(LWLINE *line)
Definition: lwline.c:76
Here is the call graph for this function:
Here is the caller graph for this function: