From: Roland McGrath Date: Fri, 23 Oct 1992 19:57:55 +0000 (+0000) Subject: Formerly variable.c.~12~ X-Git-Tag: 3.70.2~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a485ade0849e67bb11fd50acf065e856cc9d3abb;p=thirdparty%2Fmake.git Formerly variable.c.~12~ --- diff --git a/variable.c b/variable.c index 8d051983..46b691e5 100644 --- a/variable.c +++ b/variable.c @@ -360,6 +360,7 @@ define_automatic_variables () /* Don't let SHELL come from the environment. */ if (*v->value == '\0' || (v->origin == o_env)) { + free (v->value); v->origin = o_file; v->value = savestring (default_shell, 7); }