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

◆ rtdealloc_stringbuffer()

static void rtdealloc_stringbuffer ( STRINGBUFFER buffer,
int  freebuffer 
)
static

Definition at line 752 of file raster2pgsql.c.

752 {
753 if (buffer->length) {
754 uint32_t i = 0;
755 for (i = 0; i < buffer->length; i++) {
756 if (buffer->line[i] != NULL)
757 rtdealloc(buffer->line[i]);
758 }
759 rtdealloc(buffer->line);
760 }
761 buffer->line = NULL;
762 buffer->length = 0;
763
764 if (freebuffer)
766}
void rtdealloc(void *mem)
Definition rt_context.c:186
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: