PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ CircTreeFreer()

static int CircTreeFreer ( GeomCache *  cache)
static

Definition at line 64 of file geography_measurement_trees.c.

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

65 {
66  CircTreeGeomCache* circ_cache = (CircTreeGeomCache*)cache;
67  if ( circ_cache->index )
68  {
69  circ_tree_free(circ_cache->index);
70  circ_cache->index = 0;
71  circ_cache->gcache.argnum = 0;
72  }
73  return LW_SUCCESS;
74 }
#define LW_SUCCESS
Definition: liblwgeom.h:79
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: