diff options
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r-- | src/vim9execute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c index 053f6178a8..2d128e05b4 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -4573,6 +4573,7 @@ exec_instructions(ectx_T *ectx) { SOURCING_LNUM = iptr->isn_lnum; iemsg("ufunc unexpectedly NULL for FUNCREF"); + vim_free(pt); goto theend; } if (fill_partial_and_closure(pt, ufunc, |