PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void _rti_rasterize_arg_destroy ( _rti_rasterize_arg  arg)
static

Definition at line 10573 of file rt_api.c.

References _rti_rasterize_arg_t::bandlist, _rti_rasterize_arg_t::hasnodata, _rti_rasterize_arg_t::init, _rti_rasterize_arg_t::noband, _rti_rasterize_arg_t::nodata, _rti_rasterize_arg_t::pixtype, rtdealloc(), and _rti_rasterize_arg_t::value.

Referenced by rt_raster_gdal_rasterize().

10573  {
10574  if (arg->noband) {
10575  if (arg->pixtype != NULL)
10576  rtdealloc(arg->pixtype);
10577  if (arg->init != NULL)
10578  rtdealloc(arg->init);
10579  if (arg->nodata != NULL)
10580  rtdealloc(arg->nodata);
10581  if (arg->hasnodata != NULL)
10582  rtdealloc(arg->hasnodata);
10583  if (arg->value != NULL)
10584  rtdealloc(arg->value);
10585  }
10586 
10587  if (arg->bandlist != NULL)
10588  rtdealloc(arg->bandlist);
10589 
10590  rtdealloc(arg);
10591 }
void rtdealloc(void *mem)
Definition: rt_api.c:882
rt_pixtype * pixtype
Definition: rt_api.c:10541
uint8_t * hasnodata
Definition: rt_api.c:10544

Here is the call graph for this function:

Here is the caller graph for this function: