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

◆ rtdealloc_rastinfo()

static void rtdealloc_rastinfo ( RASTERINFO info)
static

Definition at line 515 of file raster2pgsql.c.

515 {
516 if (info->srs != NULL)
517 rtdealloc(info->srs);
518 if (info->nband_count > 0 && info->nband != NULL)
519 rtdealloc(info->nband);
520 if (info->gdalbandtype != NULL)
521 rtdealloc(info->gdalbandtype);
522 if (info->bandtype != NULL)
523 rtdealloc(info->bandtype);
524 if (info->hasnodata != NULL)
525 rtdealloc(info->hasnodata);
526 if (info->nodataval != NULL)
527 rtdealloc(info->nodataval);
528}
void rtdealloc(void *mem)
Definition rt_context.c:206
double * nodataval
rt_pixtype * bandtype
uint32_t nband_count
GDALDataType * gdalbandtype

References rasterinfo_t::bandtype, rasterinfo_t::gdalbandtype, rasterinfo_t::hasnodata, rasterinfo_t::nband, rasterinfo_t::nband_count, rasterinfo_t::nodataval, rtdealloc(), and rasterinfo_t::srs.

Referenced by process_rasters().

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