PostGIS  3.7.0dev-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 508 of file lwgeom_topo.c.

509 {
510  if ( ! lwt_be_freeTopology(topo) ) {
511  lwnotice("Could not release backend topology memory: %s",
513  }
514  lwfree(topo);
515 }
void lwfree(void *mem)
Definition: lwutil.c:248
void lwnotice(const char *fmt,...) __attribute__((format(printf
Write a notice out to the notice handler.
const char * lwt_be_lastErrorMessage(const LWT_BE_IFACE *be)
Definition: lwgeom_topo.c:114
int lwt_be_freeTopology(LWT_TOPOLOGY *topo)
Definition: lwgeom_topo.c:144
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: