Mercurial > vim
view src/proto/if_cscope.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 | 05b240971884 |
children |
line wrap: on
line source
/* if_cscope.c */ char_u *get_cscope_name(expand_T *xp, int idx); void set_context_in_cscope_cmd(expand_T *xp, char_u *arg, cmdidx_T cmdidx); void ex_cscope(exarg_T *eap); void ex_scscope(exarg_T *eap); void ex_cstag(exarg_T *eap); int cs_fgets(char_u *buf, int size); void cs_free_tags(void); void cs_print_tags(void); void cs_end(void); void f_cscope_connection(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */