diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 5c33bb817..7a50e73f3 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -9101,6 +9101,8 @@ expredir(union node *n) | |||
9101 | #if ENABLE_ASH_BASH_COMPAT | 9101 | #if ENABLE_ASH_BASH_COMPAT |
9102 | store_expfname: | 9102 | store_expfname: |
9103 | #endif | 9103 | #endif |
9104 | if (redir->nfile.expfname) | ||
9105 | stunalloc(redir->nfile.expfname); | ||
9104 | redir->nfile.expfname = fn.list->text; | 9106 | redir->nfile.expfname = fn.list->text; |
9105 | break; | 9107 | break; |
9106 | case NFROMFD: | 9108 | case NFROMFD: |