PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ rtpg_clip_arg_destroy()

static void rtpg_clip_arg_destroy ( rtpg_clip_arg  arg)
static

Definition at line 2960 of file rtpg_mapalgebra.c.

2960  {
2961  if (arg->band != NULL)
2962  pfree(arg->band);
2963 
2964  if (arg->raster != NULL)
2965  rt_raster_destroy(arg->raster);
2966  if (arg->mask != NULL)
2967  rt_raster_destroy(arg->mask);
2968 
2969  pfree(arg);
2970 }
void rt_raster_destroy(rt_raster raster)
Release memory associated to a raster.
Definition: rt_raster.c:86
rtpg_clip_band band

References rtpg_clip_arg_t::band, rtpg_clip_arg_t::mask, rtpg_clip_arg_t::raster, and rt_raster_destroy().

Referenced by RASTER_clip().

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