PostGIS  2.2.7dev-r@@SVN_REVISION@@
static int CircTreeFreer ( GeomCache *  cache)
static

Definition at line 45 of file geography_measurement_trees.c.

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

46 {
47  CircTreeGeomCache* circ_cache = (CircTreeGeomCache*)cache;
48  if ( circ_cache->index )
49  {
50  circ_tree_free(circ_cache->index);
51  circ_cache->index = 0;
52  circ_cache->argnum = 0;
53  }
54  return LW_SUCCESS;
55 }
#define LW_SUCCESS
Definition: liblwgeom.h:65
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: