PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ RectTreeFreer()

static int RectTreeFreer ( GeomCache *  cache)
static

Definition at line 80 of file lwgeom_rectree.c.

81 {
82  RectTreeGeomCache *rect_cache = (RectTreeGeomCache*)cache;
83  if ( rect_cache->index )
84  {
85  rect_tree_free(rect_cache->index);
86  rect_cache->index = 0;
87  rect_cache->gcache.argnum = 0;
88  }
89  return LW_SUCCESS;
90 }
#define LW_SUCCESS
Definition: liblwgeom.h:80
void rect_tree_free(RECT_NODE *node)
Recurse from top of node tree and free all children.
Definition: lwtree.c:69
RECT_NODE * index

References RectTreeGeomCache::gcache, RectTreeGeomCache::index, LW_SUCCESS, and rect_tree_free().

Here is the call graph for this function: