summaryrefslogtreecommitdiffstats
path: root/src/userfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 081bac19a3..8d82beb7eb 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -2511,7 +2511,7 @@ copy_func(char_u *lambda, char_u *global, ectx_T *ectx)
goto failed;
if (fill_partial_and_closure(pt, ufunc, ectx) == FAIL)
{
- vim_free(pt);
+ vim_free(pt);
goto failed;
}
ufunc->uf_partial = pt;