diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-06 15:06:54 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-06 15:06:54 +0000 |
commit | 2336c376d5796446d44622b0dfa8fd3fd1a5d22b (patch) | |
tree | 65c5bf2e5140e7fb9f64065c5da69447b580c7c4 /src/userfunc.c | |
parent | 8603be338ac810446f23c092f21bc6082f787519 (diff) | |
download | vim-git-8.2.3753.tar.gz |
patch 8.2.3753: Vim9: function unreferenced while called is never deletedv8.2.3753
Problem: Vim9: function unreferenced while called is never deleted.
Solution: Delete a function when no longer referenced.
Diffstat (limited to 'src/userfunc.c')
-rw-r--r-- | src/userfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 7fc764e4d..4f86c0791 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -2281,7 +2281,7 @@ func_free(ufunc_T *fp, int force) * Free all things that a function contains and free the function itself. * When "force" is TRUE we are exiting. */ - static void + void func_clear_free(ufunc_T *fp, int force) { func_clear(fp, force); |