PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ rtdealloc_rastinfo()

static void rtdealloc_rastinfo ( RASTERINFO info)
static

Definition at line 526 of file raster2pgsql.c.

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().

526  {
527  if (info->srs != NULL)
528  rtdealloc(info->srs);
529  if (info->nband_count > 0 && info->nband != NULL)
530  rtdealloc(info->nband);
531  if (info->gdalbandtype != NULL)
532  rtdealloc(info->gdalbandtype);
533  if (info->bandtype != NULL)
534  rtdealloc(info->bandtype);
535  if (info->hasnodata != NULL)
536  rtdealloc(info->hasnodata);
537  if (info->nodataval != NULL)
538  rtdealloc(info->nodataval);
539 }
GDALDataType * gdalbandtype
Definition: raster2pgsql.h:179
rt_pixtype * bandtype
Definition: raster2pgsql.h:180
void rtdealloc(void *mem)
Definition: rt_context.c:186
double * nodataval
Definition: raster2pgsql.h:185
Here is the call graph for this function:
Here is the caller graph for this function: