PostGIS  2.5.0dev-r@@SVN_REVISION@@
static void rtpg_nmapalgebraexpr_arg_destroy ( rtpg_nmapalgebraexpr_arg  arg)
static

Definition at line 1031 of file rtpg_mapalgebra.c.

References rtpg_nmapalgebraexpr_arg_t::bandarg, rtpg_nmapalgebraexpr_arg_t::callback, rtpg_nmapalgebraexpr_callback_arg::count, rtpg_nmapalgebraexpr_callback_arg::expr, rtpg_nmapalgebraexpr_callback_arg::exprcount, rtpg_nmapalgebraexpr_callback_arg::kw, rtpg_nmapalgebra_arg_destroy(), rtpg_nmapalgebraexpr_callback_arg::spi_argpos, and rtpg_nmapalgebraexpr_callback_arg::spi_plan.

Referenced by RASTER_nMapAlgebraExpr().

1031  {
1032  int i = 0;
1033 
1035 
1036  for (i = 0; i < arg->callback.exprcount; i++) {
1037  if (arg->callback.expr[i].spi_plan)
1038  SPI_freeplan(arg->callback.expr[i].spi_plan);
1039  if (arg->callback.kw.count)
1040  pfree(arg->callback.expr[i].spi_argpos);
1041  }
1042 
1043  pfree(arg);
1044 }
rtpg_nmapalgebra_arg bandarg
struct rtpg_nmapalgebraexpr_callback_arg::@18 kw
static void rtpg_nmapalgebra_arg_destroy(rtpg_nmapalgebra_arg arg)
struct rtpg_nmapalgebraexpr_callback_arg::@16 expr[3]
rtpg_nmapalgebraexpr_callback_arg callback

Here is the call graph for this function:

Here is the caller graph for this function: