]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-018 v7.2.018
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Sep 2008 19:41:30 +0000 (19:41 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Sep 2008 19:41:30 +0000 (19:41 +0000)
src/ex_cmds.c
src/version.c

index c2dc2676460b62a57d750edba56b3978f8718712..02d5b3ebe89c169875d4ce4a0b1ebda475d79ec2 100644 (file)
@@ -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;
        }
index c3803a103850aac009bb095baf1188189b269914..ccc1c0edb421fbfaed23589e1c48cdeb751fb6be 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    18,
 /**/
     17,
 /**/