PostGIS  2.3.6-r@@SVN_REVISION@@
void lwcircstring_free ( LWCIRCSTRING curve)

Definition at line 98 of file lwcircstring.c.

References LWCIRCSTRING::bbox, lwfree(), LWCIRCSTRING::points, and ptarray_free().

Referenced by lwgeom_free().

99 {
100  if ( ! curve ) return;
101 
102  if ( curve->bbox )
103  lwfree(curve->bbox);
104  if ( curve->points )
105  ptarray_free(curve->points);
106  lwfree(curve);
107 }
void lwfree(void *mem)
Definition: lwutil.c:242
void ptarray_free(POINTARRAY *pa)
Definition: ptarray.c:330
GBOX * bbox
Definition: liblwgeom.h:441
POINTARRAY * points
Definition: liblwgeom.h:443

Here is the call graph for this function:

Here is the caller graph for this function: