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

◆ _rti_rasterize_arg_destroy()

static void _rti_rasterize_arg_destroy ( _rti_rasterize_arg  arg)
static

Definition at line 2454 of file rt_raster.c.

2454 {
2455 if (arg->noband) {
2456 if (arg->pixtype != NULL)
2457 rtdealloc(arg->pixtype);
2458 if (arg->init != NULL)
2459 rtdealloc(arg->init);
2460 if (arg->nodata != NULL)
2461 rtdealloc(arg->nodata);
2462 if (arg->hasnodata != NULL)
2463 rtdealloc(arg->hasnodata);
2464 if (arg->value != NULL)
2465 rtdealloc(arg->value);
2466 }
2467
2468 if (arg->bandlist != NULL)
2469 rtdealloc(arg->bandlist);
2470
2471 if (arg->src_sr != NULL)
2472 OSRDestroySpatialReference(arg->src_sr);
2473
2474 rtdealloc(arg);
2475}
void rtdealloc(void *mem)
Definition rt_context.c:186
rt_pixtype * pixtype
Definition rt_raster.c:2419
OGRSpatialReferenceH src_sr
Definition rt_raster.c:2417

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: