PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ rtpg_nmapalgebraexpr_arg_destroy()

static void rtpg_nmapalgebraexpr_arg_destroy ( rtpg_nmapalgebraexpr_arg  arg)
static

Definition at line 1050 of file rtpg_mapalgebra.c.

1050  {
1051  int i = 0;
1052 
1054 
1055  for (i = 0; i < arg->callback.exprcount; i++) {
1056  if (arg->callback.expr[i].spi_plan)
1057  SPI_freeplan(arg->callback.expr[i].spi_plan);
1058  if (arg->callback.kw.count)
1059  pfree(arg->callback.expr[i].spi_argpos);
1060  }
1061 
1062  pfree(arg);
1063 }
static void rtpg_nmapalgebra_arg_destroy(rtpg_nmapalgebra_arg arg)
rtpg_nmapalgebraexpr_callback_arg callback
rtpg_nmapalgebra_arg bandarg
struct rtpg_nmapalgebraexpr_callback_arg::@26 kw
struct rtpg_nmapalgebraexpr_callback_arg::@24 expr[3]

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: