diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-25 23:04:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-25 23:04:51 +0000 |
commit | f461c8e7f8ce2fd2ac3367680ec4c540f04ab259 (patch) | |
tree | bfacc7b1f4c7b6087026c9e8c39bb1f7b305d22f /src/edit.c | |
parent | ea408854a8360b6925122ce7709b424ab3005209 (diff) | |
download | vim-f461c8e7f8ce2fd2ac3367680ec4c540f04ab259.zip |
updated for version 7.0093
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index ebfe7fd69..c91170215 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4985,6 +4985,15 @@ set_last_insert(c) } } +#if defined(EXITFREE) || defined(PROTO) + void +free_last_insert() +{ + vim_free(last_insert); + last_insert = NULL; +} +#endif + /* * Add character "c" to buffer "s". Escape the special meaning of K_SPECIAL * and CSI. Handle multi-byte characters. |