summaryrefslogtreecommitdiffstats
path: root/src/ex_eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-08 18:19:48 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-08 18:19:48 +0200
commit473de61b0409f8f8c86585733f099f882122b280 (patch)
tree0c2b031a29a283c70d63368c38031517572d954c /src/ex_eval.c
parentcd9c46265e4a12cf716187bc8188c7399797f806 (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/ex_eval.c')
-rw-r--r--src/ex_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c
index 5b849696e0..1ad696f497 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -1576,7 +1576,7 @@ ex_catch(eap)
caught = vim_regexec_nl(&regmatch, current_exception->value,
(colnr_T)0);
got_int |= prev_got_int;
- vim_free(regmatch.regprog);
+ vim_regfree(regmatch.regprog);
}
}
}