PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwt_FreeTopology()

void lwt_FreeTopology ( LWT_TOPOLOGY topo)

Release memory associated with an LWT_TOPOLOGY.

Parameters
topothe topology to release (it's not removed from db)

Definition at line 499 of file lwgeom_topo.c.

500 {
501  if ( ! lwt_be_freeTopology(topo) ) {
502  lwnotice("Could not release backend topology memory: %s",
504  }
505  lwfree(topo);
506 }
void lwfree(void *mem)
Definition: lwutil.c:242
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:177
const char * lwt_be_lastErrorMessage(const LWT_BE_IFACE *be)
Definition: lwgeom_topo.c:119
int lwt_be_freeTopology(LWT_TOPOLOGY *topo)
Definition: lwgeom_topo.c:149
const LWT_BE_IFACE * be_iface

References LWT_TOPOLOGY_T::be_iface, lwfree(), lwnotice(), lwt_be_freeTopology(), and lwt_be_lastErrorMessage().

Here is the call graph for this function: