PostGIS  2.1.10dev-r@@SVN_REVISION@@
void stringbuffer_destroy ( stringbuffer_t s)

Free the stringbuffer_t and all memory managed within it.

Definition at line 72 of file stringbuffer.c.

References lwfree(), and stringbuffer_t::str_start.

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

73 {
74  if ( s->str_start ) lwfree(s->str_start);
75  if ( s ) lwfree(s);
76 }
void lwfree(void *mem)
Definition: lwutil.c:190
char * str_start
Definition: stringbuffer.h:53

Here is the call graph for this function:

Here is the caller graph for this function: