diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-20 17:01:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-20 17:01:14 +0000 |
commit | b32502da83ff7e7241a4584c88f3a35859dfeeda (patch) | |
tree | 7dcdaf2b3940b86ca74f185cdb5dedfdc385c8d2 /shell | |
parent | 568d8c9a5cb05a595b4201198fd3c780920586dc (diff) | |
download | busybox-w32-1_5_1.tar.gz busybox-w32-1_5_1.tar.bz2 busybox-w32-1_5_1.zip |
applied post-1.5.0 fixes1_5_1
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 7658aebed..cc0cb69bd 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1840,7 +1840,7 @@ static int set_local_var(const char *s, int flg_export) | |||
1840 | result = -1; | 1840 | result = -1; |
1841 | } else { | 1841 | } else { |
1842 | cur->name = strdup(name); | 1842 | cur->name = strdup(name); |
1843 | if (cur->name) { | 1843 | if (!cur->name) { |
1844 | free(cur); | 1844 | free(cur); |
1845 | result = -1; | 1845 | result = -1; |
1846 | } else { | 1846 | } else { |