Problem: Vim9: leaking memory when skipping.
Solution: Disable skipping in generate_ppconst().
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 721,
/**/
720,
/**/
{
int i;
int ret = OK;
+ int save_skip = cctx->ctx_skip;
+ cctx->ctx_skip = FALSE;
for (i = 0; i < ppconst->pp_used; ++i)
if (generate_tv_PUSH(cctx, &ppconst->pp_tv[i]) == FAIL)
ret = FAIL;
ppconst->pp_used = 0;
+ cctx->ctx_skip = save_skip;
return ret;
}
++ppconst->pp_used;
return OK;
}
+ clear_tv(&argvars[0]);
}
if (generate_ppconst(cctx, ppconst) == FAIL)