Mercurial > vim
diff src/proto/vim9compile.pro @ 22324:a4ed0de125d9 v8.2.1711
patch 8.2.1711: Vim9: leaking memory when using partial
Commit: https://github.com/vim/vim/commit/fdeab65db60929e28640fd740c333f9bcfea0e15
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 19 15:16:50 2020 +0200
patch 8.2.1711: Vim9: leaking memory when using partial
Problem: Vim9: leaking memory when using partial.
Solution: Do delete the function even when it was compiled.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Sep 2020 15:30:04 +0200 |
parents | d2dee69de7c7 |
children | 107eae953b87 |
line wrap: on
line diff
--- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -17,5 +17,6 @@ int compile_def_function(ufunc_T *ufunc, void set_function_type(ufunc_T *ufunc); void delete_instr(isn_T *isn); void clear_def_function(ufunc_T *ufunc); +void unlink_def_function(ufunc_T *ufunc); void free_def_functions(void); /* vim: set ft=c : */