PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ bytebuffer_destroy_buffer()

void bytebuffer_destroy_buffer ( bytebuffer_t s)

Free the bytebuffer_t and all memory managed within it.

Definition at line 104 of file bytebuffer.c.

105 {
106  if ( s->buf_start != s->buf_static )
107  {
108  lwfree(s->buf_start);
109  s->buf_start = NULL;
110  }
111 
112  return;
113 }
char * s
Definition: cu_in_wkt.c:23
void lwfree(void *mem)
Definition: lwutil.c:244

References lwfree(), and s.

Referenced by bytebuffer_destroy(), lwgeom_to_twkb_with_idlist(), lwgeom_write_to_buffer(), and ptarray_to_twkb_buf().

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