PostGIS  2.5.0dev-r@@SVN_REVISION@@
void stringbuffer_destroy ( stringbuffer_t sb)

Free the stringbuffer_t and all memory managed within it.

Definition at line 78 of file stringbuffer.c.

References lwfree(), and stringbuffer_release().

Referenced by lwgeom_to_kml2(), lwgeom_to_wkt(), lwgeom_to_x3d3(), nd_box_to_json(), nd_stats_to_json(), pointarray_to_encoded_polyline(), ShpLoaderGenerateSQLRowStatement(), ShpLoaderGetSQLFooter(), ShpLoaderGetSQLHeader(), test_stringbuffer_append(), and test_stringbuffer_aprintf().

79 {
81  if ( s ) lwfree(s);
82 }
void lwfree(void *mem)
Definition: lwutil.c:244
char * s
Definition: cu_in_wkt.c:23
void stringbuffer_release(stringbuffer_t *s)
Definition: stringbuffer.c:50

Here is the call graph for this function:

Here is the caller graph for this function: