summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 4755a01b4..6c887fae1 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2609,6 +2609,7 @@ doend:
#ifdef FEAT_EVAL
--ex_nesting_level;
+ vim_free(ea.cmdline_tofree);
#endif
return ea.nextcmd;
@@ -4912,7 +4913,7 @@ ex_colorscheme(exarg_T *eap)
if (expr != NULL)
{
++emsg_off;
- p = eval_to_string(expr, NULL, FALSE);
+ p = eval_to_string(expr, FALSE);
--emsg_off;
vim_free(expr);
}