0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3753: Vim9: function unreferenced while called is never deleted

Problem:    Vim9: function unreferenced while called is never deleted.
Solution:   Delete a function when no longer referenced.
This commit is contained in:
Bram Moolenaar
2021-12-06 15:06:54 +00:00
parent 8603be338a
commit 2336c376d5
4 changed files with 7 additions and 3 deletions

View File

@@ -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);