PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ CircTreeFreer()

static int CircTreeFreer ( GeomCache *  cache)
static

Definition at line 69 of file geography_measurement_trees.c.

References CircTreeGeomCache::argnum, circ_tree_free(), CircTreeGeomCache::index, and LW_SUCCESS.

70 {
71  CircTreeGeomCache* circ_cache = (CircTreeGeomCache*)cache;
72  if ( circ_cache->index )
73  {
74  circ_tree_free(circ_cache->index);
75  circ_cache->index = 0;
76  circ_cache->argnum = 0;
77  }
78  return LW_SUCCESS;
79 }
#define LW_SUCCESS
Definition: liblwgeom.h:80
void circ_tree_free(CIRC_NODE *node)
Recurse from top of node tree and free all children.
Here is the call graph for this function: