# HG changeset patch # User vimboss # Date 1221421290 0 # Node ID 7b258a166daa98eb01237988ec954895a2e6ff0e # Parent 0670d0df210a891f82d38c38f1b3b256dd1a5f8d updated for version 7.2-018 diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- 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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 18, +/**/ 17, /**/ 16,