aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 010924db4..dda18e8b5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -8676,6 +8676,8 @@ expredir(union node *n)
8676#if ENABLE_ASH_BASH_COMPAT 8676#if ENABLE_ASH_BASH_COMPAT
8677 store_expfname: 8677 store_expfname:
8678#endif 8678#endif
8679 if (redir->nfile.expfname)
8680 stunalloc(redir->nfile.expfname);
8679 redir->nfile.expfname = fn.list->text; 8681 redir->nfile.expfname = fn.list->text;
8680 break; 8682 break;
8681 case NFROMFD: 8683 case NFROMFD: