PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ _lwt_release_edges()

static void _lwt_release_edges ( LWT_ISO_EDGE edges,
int  num_edges 
)
static

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

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