PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
|
static |
This function is passed into the generic GetGeomCache function in the case of a cache miss, so that it can free the particular indexed structure being managed.
In the case of prepared geometry, we want to leave the actual PrepGeomCache allocated and in place, but ensure that the GEOS Geometry and PreparedGeometry are freed so we don't leak memory as we transition from cache hit to miss to hit, etc.
Definition at line 401 of file lwgeom_geos_prepared.c.
References PrepGeomCache::argnum, PrepGeomCache::context_callback, PrepGeomCache::geom, PrepGeomHashEntry::geom, GetPrepGeomHashEntry(), LW_FAILURE, LW_SUCCESS, PrepGeomCache::prepared_geom, and PrepGeomHashEntry::prepared_geom.