Mercurial > vim
view src/proto/help.pro @ 26845:a6ccb6ec581c v8.2.3951
patch 8.2.3951: Vim9: memory leak when text after a nested function
Commit: https://github.com/vim/vim/commit/d293981d2b76b40013143fe2302b910585e50808
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 30 17:09:05 2021 +0000
patch 8.2.3951: Vim9: memory leak when text after a nested function
Problem: Vim9: memory leak when text after a nested function.
Solution: Free the function if text is found after "enddef".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Dec 2021 18:15:03 +0100 |
parents | 5db63c2c6929 |
children | f103da6ba95f |
line wrap: on
line source
/* help.c */ void ex_help(exarg_T *eap); void ex_helpclose(exarg_T *eap); char_u *check_help_lang(char_u *arg); int help_heuristic(char_u *matched_string, int offset, int wrong_case); int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_lang); void cleanup_help_tags(int num_file, char_u **file); void prepare_help_buffer(void); void fix_help_buffer(void); void ex_exusage(exarg_T *eap); void ex_viusage(exarg_T *eap); void ex_helptags(exarg_T *eap); /* vim: set ft=c : */