1
0
mirror of https://github.com/sheumann/hush.git synced 2025-04-29 07:37:08 +00:00

hush: fix recent breakage (VAR=VAL stopped working)

This commit is contained in:
Denis Vlasenko 2007-05-10 23:05:28 +00:00
parent 2b54aaa9bf
commit 53079d494e

@ -2420,7 +2420,7 @@ static int set_local_var(const char *s, int flg_export)
result = -1;
} else {
cur->name = strdup(name);
if (cur->name) {
if (!cur->name) {
free(cur);
result = -1;
} else {