Mercurial > vim
annotate src/proto/viminfo.pro @ 18584:351659cbadb4 v8.1.2286
patch 8.1.2286: using border highlight in popup window leaks memory
Commit: https://github.com/vim/vim/commit/622b64603748cceafd47f7537b96610e824e0680
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 15:16:54 2019 +0100
patch 8.1.2286: using border highlight in popup window leaks memory
Problem: Using border highlight in popup window leaks memory.
Solution: Free memory before overwriting. (Dominique Pelle, closes https://github.com/vim/vim/issues/5203)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 15:30:03 +0100 |
parents | 18d7337b6837 |
children | 05b240971884 |
rev | line source |
---|---|
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* viminfo.c */ |
17476
d4b2a212fa2f
patch 8.1.1736: viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17464
diff
changeset
|
2 int get_viminfo_parameter(int type); |
d4b2a212fa2f
patch 8.1.1736: viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17464
diff
changeset
|
3 void check_marks_read(void); |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 int read_viminfo(char_u *file, int flags); |
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void write_viminfo(char_u *file, int forceit); |
18463
18d7337b6837
patch 8.1.2225: the "last used" info of a buffer is under used
Bram Moolenaar <Bram@vim.org>
parents:
17476
diff
changeset
|
6 int buf_compare(const void *s1, const void *s2); |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void ex_viminfo(exarg_T *eap); |
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 /* vim: set ft=c : */ |