0
0
mirror of https://github.com/vim/vim.git synced 2025-09-04 21:33:48 -04:00

updated for version 7.2-135

This commit is contained in:
Bram Moolenaar 2009-03-11 14:10:38 +00:00
parent 5d294d19b4
commit 60f39aecb1
2 changed files with 11 additions and 2 deletions

View File

@ -5124,7 +5124,11 @@ uc_add_command(name, name_len, rep, argt, def, flags, compl, compl_arg, force)
} }
vim_free(cmd->uc_rep); 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; break;
} }
@ -5941,7 +5945,7 @@ do_ucmd(eap)
for (;;) for (;;)
{ {
p = cmd->uc_rep; /* source */ p = cmd->uc_rep; /* source */
q = buf; /* destinateion */ q = buf; /* destination */
totlen = 0; totlen = 0;
for (;;) for (;;)
@ -7846,6 +7850,9 @@ free_cd_dir()
{ {
vim_free(prev_dir); vim_free(prev_dir);
prev_dir = NULL; prev_dir = NULL;
vim_free(globaldir);
globaldir = NULL;
} }
#endif #endif

View File

@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
135,
/**/ /**/
134, 134,
/**/ /**/