PostGIS  2.5.7dev-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 505 of file lwgeom_topo.c.

506 {
507  if ( ! lwt_be_freeTopology(topo) ) {
508  lwnotice("Could not release backend topology memory: %s",
510  }
511  lwfree(topo);
512 }
void lwfree(void *mem)
Definition: lwutil.c:244
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:120
int lwt_be_freeTopology(LWT_TOPOLOGY *topo)
Definition: lwgeom_topo.c:150
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: