PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void rtdealloc_rastinfo ( RASTERINFO info)
static

Definition at line 519 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().

519  {
520  if (info->srs != NULL)
521  rtdealloc(info->srs);
522  if (info->nband_count > 0 && info->nband != NULL)
523  rtdealloc(info->nband);
524  if (info->gdalbandtype != NULL)
525  rtdealloc(info->gdalbandtype);
526  if (info->bandtype != NULL)
527  rtdealloc(info->bandtype);
528  if (info->hasnodata != NULL)
529  rtdealloc(info->hasnodata);
530  if (info->nodataval != NULL)
531  rtdealloc(info->nodataval);
532 }
GDALDataType * gdalbandtype
Definition: raster2pgsql.h:174
void rtdealloc(void *mem)
Definition: rt_api.c:882
rt_pixtype * bandtype
Definition: raster2pgsql.h:175
double * nodataval
Definition: raster2pgsql.h:180

Here is the call graph for this function:

Here is the caller graph for this function: