PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ CircTreeFreer()

static int CircTreeFreer ( GeomCache *  cache)
static

Definition at line 64 of file geography_measurement_trees.c.

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:80
void circ_tree_free(CIRC_NODE *node)
Recurse from top of node tree and free all children.

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

Here is the call graph for this function: