PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwcircstring_free()

void lwcircstring_free ( LWCIRCSTRING curve)

Definition at line 97 of file lwcircstring.c.

98 {
99  if ( ! curve ) return;
100 
101  if ( curve->bbox )
102  lwfree(curve->bbox);
103  if ( curve->points )
104  ptarray_free(curve->points);
105  lwfree(curve);
106 }
void lwfree(void *mem)
Definition: lwutil.c:244
void ptarray_free(POINTARRAY *pa)
Definition: ptarray.c:328
POINTARRAY * points
Definition: liblwgeom.h:447
GBOX * bbox
Definition: liblwgeom.h:445

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

Referenced by lwgeom_free().

Here is the call graph for this function:
Here is the caller graph for this function: