forked from aniani/vim
updated for version 7.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().
This commit is contained in:
@@ -1134,7 +1134,7 @@ free_all_mem()
|
||||
/* Free some global vars. */
|
||||
vim_free(username);
|
||||
# ifdef FEAT_CLIPBOARD
|
||||
vim_free(clip_exclude_prog);
|
||||
vim_regfree(clip_exclude_prog);
|
||||
# endif
|
||||
vim_free(last_cmdline);
|
||||
# ifdef FEAT_CMDHIST
|
||||
@@ -5008,8 +5008,8 @@ vim_findfile(search_ctx_arg)
|
||||
#endif
|
||||
{
|
||||
/*
|
||||
* we don't have further wildcards to expand, so we have to
|
||||
* check for the final file now
|
||||
* We don't have further wildcards to expand, so we have to
|
||||
* check for the final file now.
|
||||
*/
|
||||
for (i = stackp->ffs_filearray_cur;
|
||||
i < stackp->ffs_filearray_size; ++i)
|
||||
|
||||
Reference in New Issue
Block a user