PostGIS  2.1.10dev-r@@SVN_REVISION@@
void lwcircstring_free ( LWCIRCSTRING curve)

Definition at line 85 of file lwcircstring.c.

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

Referenced by lwgeom_free().

86 {
87  if ( ! curve ) return;
88 
89  if ( curve->bbox )
90  lwfree(curve->bbox);
91  if ( curve->points )
92  ptarray_free(curve->points);
93  lwfree(curve);
94 }
void lwfree(void *mem)
Definition: lwutil.c:190
void ptarray_free(POINTARRAY *pa)
Definition: ptarray.c:315
GBOX * bbox
Definition: liblwgeom.h:398
POINTARRAY * points
Definition: liblwgeom.h:400

Here is the call graph for this function:

Here is the caller graph for this function: