PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ _rti_rasterize_arg_destroy()

static void _rti_rasterize_arg_destroy ( _rti_rasterize_arg  arg)
static

Definition at line 2459 of file rt_raster.c.

2459  {
2460  if (arg->noband) {
2461  if (arg->pixtype != NULL)
2462  rtdealloc(arg->pixtype);
2463  if (arg->init != NULL)
2464  rtdealloc(arg->init);
2465  if (arg->nodata != NULL)
2466  rtdealloc(arg->nodata);
2467  if (arg->hasnodata != NULL)
2468  rtdealloc(arg->hasnodata);
2469  if (arg->value != NULL)
2470  rtdealloc(arg->value);
2471  }
2472 
2473  if (arg->bandlist != NULL)
2474  rtdealloc(arg->bandlist);
2475 
2476  if (arg->src_sr != NULL)
2477  OSRDestroySpatialReference(arg->src_sr);
2478 
2479  rtdealloc(arg);
2480 }
void rtdealloc(void *mem)
Definition: rt_context.c:186
rt_pixtype * pixtype
Definition: rt_raster.c:2424
OGRSpatialReferenceH src_sr
Definition: rt_raster.c:2422

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(), _rti_rasterize_arg_t::src_sr, and _rti_rasterize_arg_t::value.

Referenced by rt_raster_gdal_rasterize().

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