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

◆ rtdealloc_stringbuffer()

static void rtdealloc_stringbuffer ( STRINGBUFFER buffer,
int  freebuffer 
)
static

Definition at line 764 of file raster2pgsql.c.

764 {
765 if (buffer->length) {
766 uint32_t i = 0;
767 for (i = 0; i < buffer->length; i++) {
768 if (buffer->line[i] != NULL)
769 rtdealloc(buffer->line[i]);
770 }
771 rtdealloc(buffer->line);
772 }
773 buffer->line = NULL;
774 buffer->length = 0;
775
776 if (freebuffer)
778}
void rtdealloc(void *mem)
Definition rt_context.c:206
Datum buffer(PG_FUNCTION_ARGS)

References buffer(), and rtdealloc().

Referenced by build_overview(), convert_raster(), flush_stringbuffer(), main(), and process_rasters().

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