diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-08 18:19:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-08 18:19:48 +0200 |
commit | 473de61b0409f8f8c86585733f099f882122b280 (patch) | |
tree | 0c2b031a29a283c70d63368c38031517572d954c /src/edit.c | |
parent | cd9c46265e4a12cf716187bc8188c7399797f806 (diff) |
updated for version 7.3.1149v7.3.1149
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index c9a271d66c..4eab20eb6b 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3134,7 +3134,7 @@ ins_compl_dictionaries(dict_start, pat, flags, thesaurus) theend: p_scs = save_p_scs; - vim_free(regmatch.regprog); + vim_regfree(regmatch.regprog); vim_free(buf); } |