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

Definition at line 17093 of file rt_pg.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().

17093  {
17094  int i = 0;
17095 
17097 
17098  for (i = 0; i < arg->callback.exprcount; i++) {
17099  if (arg->callback.expr[i].spi_plan)
17100  SPI_freeplan(arg->callback.expr[i].spi_plan);
17101  if (arg->callback.kw.count)
17102  pfree(arg->callback.expr[i].spi_argpos);
17103  }
17104 
17105  pfree(arg);
17106 }
struct rtpg_nmapalgebraexpr_callback_arg::@17 expr[3]
rtpg_nmapalgebra_arg bandarg
Definition: rt_pg.c:17049
struct rtpg_nmapalgebraexpr_callback_arg::@19 kw
static void rtpg_nmapalgebra_arg_destroy(rtpg_nmapalgebra_arg arg)
Definition: rt_pg.c:16336
rtpg_nmapalgebraexpr_callback_arg callback
Definition: rt_pg.c:17051

Here is the call graph for this function:

Here is the caller graph for this function: