Mercurial > vim
annotate src/proto/if_python.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 | 21b0a39d13ed |
children |
rev | line source |
---|---|
7 | 1 /* if_python.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
2 int python_enabled(int verbose); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
3 void python_end(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
4 int python_loaded(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
5 void ex_python(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
6 void ex_pyfile(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
7 void ex_pydo(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
8 void python_buffer_free(buf_T *buf); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
9 void python_window_free(win_T *win); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
10 void python_tabpage_free(tabpage_T *tab); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
11 void do_pyeval(char_u *str, typval_T *rettv); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
12 int set_ref_in_python(int copyID); |
7 | 13 /* vim: set ft=c : */ |