diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-03-11 14:10:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-03-11 14:10:38 +0000 |
commit | 60f39aecb1734807380432cadf094498ef5767dd (patch) | |
tree | a9223cfa5e6ecd800aeeb7cfa8ce36e8a252fc8c | |
parent | 5d294d19b4cae252633bd10e9f32b47f5692d227 (diff) | |
download | vim-git-60f39aecb1734807380432cadf094498ef5767dd.tar.gz |
updated for version 7.2-135v7.2.135
-rw-r--r-- | src/ex_docmd.c | 11 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c730d761b..4925695e4 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -5124,7 +5124,11 @@ uc_add_command(name, name_len, rep, argt, def, flags, compl, compl_arg, force) } vim_free(cmd->uc_rep); - cmd->uc_rep = 0; + cmd->uc_rep = NULL; +#if defined(FEAT_EVAL) && defined(FEAT_CMDL_COMPL) + vim_free(cmd->uc_compl_arg); + cmd->uc_compl_arg = NULL; +#endif break; } @@ -5941,7 +5945,7 @@ do_ucmd(eap) for (;;) { p = cmd->uc_rep; /* source */ - q = buf; /* destinateion */ + q = buf; /* destination */ totlen = 0; for (;;) @@ -7846,6 +7850,9 @@ free_cd_dir() { vim_free(prev_dir); prev_dir = NULL; + + vim_free(globaldir); + globaldir = NULL; } #endif diff --git a/src/version.c b/src/version.c index c404e1439..8d20bf15c 100644 --- 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 */ /**/ + 135, +/**/ 134, /**/ 133, |