Mercurial > vim
diff src/edit.c @ 359:6c62b9b939bd v7.0093
updated for version 7.0093
author | vimboss |
---|---|
date | Sat, 25 Jun 2005 23:04:51 +0000 |
parents | 006e9c8a6a8a |
children | 8c229eb52e34 |
line wrap: on
line diff
--- 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.