PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rtpg_nmapalgebraexpr_arg_destroy()

static void rtpg_nmapalgebraexpr_arg_destroy ( rtpg_nmapalgebraexpr_arg  arg)
static

Definition at line 1093 of file rtpg_mapalgebra.c.

1093  {
1094  int i = 0;
1095 
1097 
1098  for (i = 0; i < arg->callback.exprcount; i++) {
1099  if (arg->callback.expr[i].spi_plan)
1100  SPI_freeplan(arg->callback.expr[i].spi_plan);
1101  if (arg->callback.kw.count)
1102  pfree(arg->callback.expr[i].spi_argpos);
1103  }
1104 
1105  pfree(arg);
1106 }
static void rtpg_nmapalgebra_arg_destroy(rtpg_nmapalgebra_arg arg)
rtpg_nmapalgebraexpr_callback_arg callback
rtpg_nmapalgebra_arg bandarg
struct rtpg_nmapalgebraexpr_callback_arg::@18 expr[3]
struct rtpg_nmapalgebraexpr_callback_arg::@20 kw

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().

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