summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 29bec6f46..61654345e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -18811,6 +18811,7 @@ ex_function(eap)
if (dict_add(fudi.fd_dict, fudi.fd_di) == FAIL)
{
vim_free(fudi.fd_di);
+ vim_free(fp);
goto erret;
}
}