summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 27c44ff5b..4943bfcfb 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4371,7 +4371,6 @@ expand_filename(eap, cmdlinep, errormsgp)
p = ExpandOne(&xpc, eap->arg, NULL,
WILD_LIST_NOTFOUND|WILD_ADD_SLASH,
WILD_EXPAND_FREE);
- ExpandCleanup(&xpc);
if (p == NULL)
return FAIL;
}