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

◆ rtdealloc_rastinfo()

static void rtdealloc_rastinfo ( RASTERINFO info)
static

Definition at line 504 of file raster2pgsql.c.

504 {
505 if (info->srs != NULL)
506 rtdealloc(info->srs);
507 if (info->nband_count > 0 && info->nband != NULL)
508 rtdealloc(info->nband);
509 if (info->gdalbandtype != NULL)
510 rtdealloc(info->gdalbandtype);
511 if (info->bandtype != NULL)
512 rtdealloc(info->bandtype);
513 if (info->hasnodata != NULL)
514 rtdealloc(info->hasnodata);
515 if (info->nodataval != NULL)
516 rtdealloc(info->nodataval);
517}
void rtdealloc(void *mem)
Definition rt_context.c:186
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: