diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-25 22:49:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-25 22:49:46 +0000 |
commit | ea408854a8360b6925122ce7709b424ab3005209 (patch) | |
tree | 2c5418f82336471cca7110bb10ed76d29f03fcea /src/mark.c | |
parent | 29a1c1d374151aae361dbf39f4b599403fee2e66 (diff) | |
download | vim-git-ea408854a8360b6925122ce7709b424ab3005209.tar.gz |
updated for version 7.0093
Diffstat (limited to 'src/mark.c')
-rw-r--r-- | src/mark.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mark.c b/src/mark.c index c804d1eda..1655e0357 100644 --- a/src/mark.c +++ b/src/mark.c @@ -1284,6 +1284,18 @@ set_last_cursor(win) win->w_buffer->b_last_cursor = win->w_cursor; } +#if defined(EXITFREE) || defined(PROTO) + void +free_all_marks() +{ + int i; + + for (i = 0; i < NMARKS + EXTRA_MARKS; i++) + if (namedfm[i].fmark.mark.lnum != 0) + vim_free(namedfm[i].fname); +} +#endif + #if defined(FEAT_VIMINFO) || defined(PROTO) int read_viminfo_filemark(virp, force) |