summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-09-14 19:41:30 +0000
committerBram Moolenaar <Bram@vim.org>2008-09-14 19:41:30 +0000
commitda2bd6ff50c767803561894a20a8fe41d96b28a2 (patch)
treeed23cf3898f9eead642569bed925dc5f4ed3da63 /src/ex_cmds.c
parent24d92ceaf3465ad4303e74c5d0fcca112777bfb3 (diff)
updated for version 7.2-018v7.2.018
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index c2dc267646..02d5b3ebe8 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5059,6 +5059,7 @@ skip:
if (did_sub)
++sub_nlines;
+ vim_free(new_start); /* for when substitute was cancelled */
vim_free(sub_firstline); /* free the copy of the original line */
sub_firstline = NULL;
}