mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -1576,7 +1576,7 @@ ex_catch(eap)
|
||||
caught = vim_regexec_nl(®match, current_exception->value,
|
||||
(colnr_T)0);
|
||||
got_int |= prev_got_int;
|
||||
vim_free(regmatch.regprog);
|
||||
vim_regfree(regmatch.regprog);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user