diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-01 16:43:15 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-01 16:43:15 -0400 |
commit | c693f212c5b0433b3a49a89d87cbff28bf78eb87 (patch) | |
tree | fba202b549b53e536feb5d7b60e6313074d93a55 /common/cli_hush.c | |
parent | b641dd3ec8dc3f6b18d2fa945ac3ab597063d191 (diff) | |
parent | 14b7004532a41cbb2dc82cc1a5687e8e88e1ba0d (diff) |
Merge branch '2020-05-01-master-imports'
- Assorted bug fixes
- Framework for enabling D-CACHE in SPL on ARM
Diffstat (limited to 'common/cli_hush.c')
-rw-r--r-- | common/cli_hush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c index cf1e273485..a62af07cc5 100644 --- a/common/cli_hush.c +++ b/common/cli_hush.c @@ -1849,8 +1849,7 @@ static int run_list_real(struct pipe *pi) continue; } else { /* insert new value from list for variable */ - if (pi->progs->argv[0]) - free(pi->progs->argv[0]); + free(pi->progs->argv[0]); pi->progs->argv[0] = *list++; #ifndef __U_BOOT__ pi->progs->glob_result.gl_pathv[0] = |