PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ stringbuffer_destroy()

void stringbuffer_destroy ( stringbuffer_t s)

Free the stringbuffer_t and all memory managed within it.

Definition at line 78 of file stringbuffer.c.

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

References lwfree(), s, 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().

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