PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ bytebuffer_destroy_buffer()

void bytebuffer_destroy_buffer ( bytebuffer_t s)

Free the bytebuffer_t and all memory managed within it.

Definition at line 56 of file bytebuffer.c.

57{
58 if ( s->buf_start != s->buf_static )
59 {
60 lwfree(s->buf_start);
61 s->buf_start = NULL;
62 }
63
64 return;
65}
char * s
Definition cu_in_wkt.c:23
void lwfree(void *mem)
Definition lwutil.c:248

References lwfree(), and s.

Referenced by 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: