diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-20 22:17:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-20 22:17:20 +0000 |
commit | fc1421eb53b17aa58b01a9c07ba2007eb4a1aa4f (patch) | |
tree | aeddd441dc8dc7222c5c1acd2b0841712e833810 /src/misc1.c | |
parent | 8424a624ce1c38716deabd47f4da23f1e81614bd (diff) | |
download | vim-git-fc1421eb53b17aa58b01a9c07ba2007eb4a1aa4f.tar.gz |
updated for version 7.0e04v7.0e04
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c index 7d86e460e..67a2fc06d 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -3625,7 +3625,6 @@ expand_env_esc(srcp, dst, dstlen, esc, startstr) xpc.xp_context = EXPAND_FILES; var = ExpandOne(&xpc, dst, NULL, WILD_ADD_SLASH|WILD_SILENT, WILD_EXPAND_FREE); - ExpandCleanup(&xpc); mustfree = TRUE; } @@ -9363,7 +9362,7 @@ FreeWild(count, files) int count; char_u **files; { - if (files == NULL || count <= 0) + if (count <= 0 || files == NULL) return; #if defined(__EMX__) && defined(__ALWAYS_HAS_TRAILING_NULL_POINTER) /* XXX */ /* |